File tree Expand file tree Collapse file tree 10 files changed +5
-32
lines changed
boards/ARDUINO_NANO_RP2040_CONNECT Expand file tree Collapse file tree 10 files changed +5
-32
lines changed Original file line number Diff line number Diff line change 112
112
113
113
// Extended modules
114
114
#define MICROPY_EPOCH_IS_1970 (1)
115
- #define MICROPY_PY_CRYPTOLIB (MICROPY_PY_SSL)
116
- #define MICROPY_PY_HASHLIB_MD5 (MICROPY_PY_SSL)
117
- #define MICROPY_PY_HASHLIB_SHA1 (MICROPY_PY_SSL)
118
115
#define MICROPY_PY_OS_INCLUDEFILE "ports/alif/modos.c"
119
116
#define MICROPY_PY_OS_DUPTERM (1)
120
117
#define MICROPY_PY_OS_SEP (1)
Original file line number Diff line number Diff line change 105
105
#define MICROPY_BLUETOOTH_NIMBLE (1)
106
106
#define MICROPY_BLUETOOTH_NIMBLE_BINDINGS_ONLY (1)
107
107
#endif
108
- #define MICROPY_PY_HASHLIB_MD5 (1)
109
- #define MICROPY_PY_HASHLIB_SHA1 (1)
110
- #define MICROPY_PY_HASHLIB_SHA256 (1)
111
- #define MICROPY_PY_CRYPTOLIB (1)
112
108
#define MICROPY_PY_RANDOM_SEED_INIT_FUNC (esp_random())
113
109
#define MICROPY_PY_OS_INCLUDEFILE "ports/esp32/modos.c"
114
110
#define MICROPY_PY_OS_DUPTERM (1)
Original file line number Diff line number Diff line change 12
12
#define MICROPY_READER_VFS (MICROPY_VFS)
13
13
#define MICROPY_VFS (1)
14
14
15
- #define MICROPY_PY_CRYPTOLIB (1)
16
-
17
15
#elif defined(MICROPY_ESP8266_1M )
18
16
19
17
#define MICROPY_HW_BOARD_NAME "ESP module (1M)"
28
26
#define MICROPY_READER_VFS (MICROPY_VFS)
29
27
#define MICROPY_VFS (1)
30
28
31
-
32
- #define MICROPY_PY_CRYPTOLIB (1)
33
-
34
29
#elif defined(MICROPY_ESP8266_512K )
35
30
36
31
#define MICROPY_HW_BOARD_NAME "ESP module (512K)"
45
40
#define MICROPY_PY_SYS_STDIO_BUFFER (0)
46
41
#define MICROPY_PY_ASYNCIO (0)
47
42
#define MICROPY_PY_RE_SUB (0)
43
+ #define MICROPY_PY_CRYPTOLIB (0)
48
44
#define MICROPY_PY_FRAMEBUF (0)
49
45
50
46
#endif
Original file line number Diff line number Diff line change 56
56
#define MICROPY_REPL_EVENT_DRIVEN (0)
57
57
#define MICROPY_USE_INTERNAL_ERRNO (1)
58
58
#define MICROPY_PY_BUILTINS_HELP_TEXT esp_help_text
59
+ #define MICROPY_PY_HASHLIB_MD5 (0)
59
60
#define MICROPY_PY_HASHLIB_SHA1 (MICROPY_PY_SSL && MICROPY_SSL_AXTLS)
60
61
#define MICROPY_PY_RANDOM_SEED_INIT_FUNC (*WDEV_HWRNG)
61
62
#define MICROPY_PY_TIME_GMTIME_LOCALTIME_MKTIME (1)
Original file line number Diff line number Diff line change @@ -145,9 +145,6 @@ uint32_t trng_random_u32(void);
145
145
#define MICROPY_PY_WEBSOCKET (MICROPY_PY_LWIP)
146
146
#define MICROPY_PY_WEBREPL (MICROPY_PY_LWIP)
147
147
#define MICROPY_PY_LWIP_SOCK_RAW (MICROPY_PY_LWIP)
148
- #define MICROPY_PY_HASHLIB_MD5 (MICROPY_PY_SSL)
149
- #define MICROPY_PY_HASHLIB_SHA1 (MICROPY_PY_SSL)
150
- #define MICROPY_PY_CRYPTOLIB (MICROPY_PY_SSL)
151
148
#ifndef MICROPY_PY_NETWORK_PPP_LWIP
152
149
#define MICROPY_PY_NETWORK_PPP_LWIP (MICROPY_PY_LWIP)
153
150
#endif
Original file line number Diff line number Diff line change 10
10
// Enable networking.
11
11
#define MICROPY_PY_NETWORK (1)
12
12
13
- // Enable MD5 hash.
14
- #define MICROPY_PY_HASHLIB_MD5 (1)
15
-
16
13
// Disable internal error numbers.
17
14
#define MICROPY_USE_INTERNAL_ERRNO (0)
18
15
Original file line number Diff line number Diff line change 150
150
#define MICROPY_PY_OS_URANDOM (1)
151
151
#define MICROPY_PY_RE_MATCH_GROUPS (1)
152
152
#define MICROPY_PY_RE_MATCH_SPAN_START_END (1)
153
- #define MICROPY_PY_HASHLIB_SHA1 (1)
154
- #define MICROPY_PY_CRYPTOLIB (1)
155
153
#define MICROPY_PY_TIME_GMTIME_LOCALTIME_MKTIME (1)
156
154
#define MICROPY_PY_TIME_TIME_TIME_NS (1)
157
155
#define MICROPY_PY_TIME_INCLUDEFILE "ports/rp2/modtime.c"
Original file line number Diff line number Diff line change 97
97
#endif
98
98
99
99
// extended modules
100
- #define MICROPY_PY_HASHLIB_MD5 (MICROPY_PY_SSL)
101
- #define MICROPY_PY_HASHLIB_SHA1 (MICROPY_PY_SSL)
102
- #define MICROPY_PY_CRYPTOLIB (MICROPY_PY_SSL)
103
100
#define MICROPY_PY_OS_INCLUDEFILE "ports/stm32/modos.c"
104
101
#define MICROPY_PY_OS_DUPTERM (3)
105
102
#define MICROPY_PY_OS_DUPTERM_BUILTIN_STREAM (1)
Original file line number Diff line number Diff line change 104
104
#define MICROPY_PY_TIME_CUSTOM_SLEEP (1)
105
105
#define MICROPY_PY_TIME_INCLUDEFILE "ports/unix/modtime.c"
106
106
107
- #if MICROPY_PY_SSL
108
- #define MICROPY_PY_HASHLIB_MD5 (1)
109
- #define MICROPY_PY_HASHLIB_SHA1 (1)
110
- #define MICROPY_PY_CRYPTOLIB (1)
111
- #endif
112
-
113
107
// The "select" module is enabled by default, but disable select.select().
114
108
#define MICROPY_PY_SELECT_POSIX_OPTIMISATIONS (1)
115
109
#define MICROPY_PY_SELECT_SELECT (0)
Original file line number Diff line number Diff line change @@ -1860,19 +1860,19 @@ typedef time_t mp_timestamp_t;
1860
1860
#endif
1861
1861
1862
1862
#ifndef MICROPY_PY_HASHLIB_MD5
1863
- #define MICROPY_PY_HASHLIB_MD5 (0 )
1863
+ #define MICROPY_PY_HASHLIB_MD5 (MICROPY_PY_SSL )
1864
1864
#endif
1865
1865
1866
1866
#ifndef MICROPY_PY_HASHLIB_SHA1
1867
- #define MICROPY_PY_HASHLIB_SHA1 (0 )
1867
+ #define MICROPY_PY_HASHLIB_SHA1 (MICROPY_PY_SSL )
1868
1868
#endif
1869
1869
1870
1870
#ifndef MICROPY_PY_HASHLIB_SHA256
1871
1871
#define MICROPY_PY_HASHLIB_SHA256 (1)
1872
1872
#endif
1873
1873
1874
1874
#ifndef MICROPY_PY_CRYPTOLIB
1875
- #define MICROPY_PY_CRYPTOLIB (0 )
1875
+ #define MICROPY_PY_CRYPTOLIB (MICROPY_PY_SSL )
1876
1876
#endif
1877
1877
1878
1878
// Depends on MICROPY_PY_CRYPTOLIB
You can’t perform that action at this time.
0 commit comments