summaryrefslogtreecommitdiff
path: root/ports/stm32/mpconfigport.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/stm32/mpconfigport.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/stm32/mpconfigport.h')
-rw-r--r--ports/stm32/mpconfigport.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/ports/stm32/mpconfigport.h b/ports/stm32/mpconfigport.h
index 191503cd4..fac261f7e 100644
--- a/ports/stm32/mpconfigport.h
+++ b/ports/stm32/mpconfigport.h
@@ -97,9 +97,6 @@
#endif
// extended modules
-#define MICROPY_PY_HASHLIB_MD5 (MICROPY_PY_SSL)
-#define MICROPY_PY_HASHLIB_SHA1 (MICROPY_PY_SSL)
-#define MICROPY_PY_CRYPTOLIB (MICROPY_PY_SSL)
#define MICROPY_PY_OS_INCLUDEFILE "ports/stm32/modos.c"
#define MICROPY_PY_OS_DUPTERM (3)
#define MICROPY_PY_OS_DUPTERM_BUILTIN_STREAM (1)