summaryrefslogtreecommitdiff
path: root/ports/esp8266/boards/ESP8266_GENERIC/mpconfigboard.h
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2025-08-15 12:56:16 +1000
committerDamien George <damien@micropython.org>2025-08-19 21:10:00 +1000
commitb5fcb33eaa682bb666c839cd4fb301175cc3564f (patch)
treef671d8ea3f98bda359baee515f988546da1394be /ports/esp8266/boards/ESP8266_GENERIC/mpconfigboard.h
parent989abae12c9210a0acf966bbc71e90f285d8795c (diff)
py/mpconfig: Enable CRYPTOLIB, HASHLIB_MD5, HASHLIB_SHA1 if SSL enabled.HEADorigin/masterorigin/HEADmaster
This commit unifies the configuration of MICROPY_PY_CRYPTOLIB, MICROPY_PY_HASHLIB_MD5 and MICROPY_PY_HASHLIB_SHA1, so they are enabled by default if MICROPY_PY_SSL is enabled. This matches the existing configuration of most of the ports. With this change, all ports remain the same except: - reneses-ra now enables MICROPY_PY_CRYPTOLIB, MICROPY_PY_HASHLIB_MD5 and MICROPY_PY_HASHLIB_SHA1. - rp2 now enables MICROPY_PY_HASHLIB_MD5. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'ports/esp8266/boards/ESP8266_GENERIC/mpconfigboard.h')
-rw-r--r--ports/esp8266/boards/ESP8266_GENERIC/mpconfigboard.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/ports/esp8266/boards/ESP8266_GENERIC/mpconfigboard.h b/ports/esp8266/boards/ESP8266_GENERIC/mpconfigboard.h
index 1f679961e..cea2267c7 100644
--- a/ports/esp8266/boards/ESP8266_GENERIC/mpconfigboard.h
+++ b/ports/esp8266/boards/ESP8266_GENERIC/mpconfigboard.h
@@ -12,8 +12,6 @@
#define MICROPY_READER_VFS (MICROPY_VFS)
#define MICROPY_VFS (1)
-#define MICROPY_PY_CRYPTOLIB (1)
-
#elif defined(MICROPY_ESP8266_1M)
#define MICROPY_HW_BOARD_NAME "ESP module (1M)"
@@ -28,9 +26,6 @@
#define MICROPY_READER_VFS (MICROPY_VFS)
#define MICROPY_VFS (1)
-
-#define MICROPY_PY_CRYPTOLIB (1)
-
#elif defined(MICROPY_ESP8266_512K)
#define MICROPY_HW_BOARD_NAME "ESP module (512K)"
@@ -45,6 +40,7 @@
#define MICROPY_PY_SYS_STDIO_BUFFER (0)
#define MICROPY_PY_ASYNCIO (0)
#define MICROPY_PY_RE_SUB (0)
+#define MICROPY_PY_CRYPTOLIB (0)
#define MICROPY_PY_FRAMEBUF (0)
#endif