mirror of
https://github.com/micropython/micropython.git
synced 2025-12-15 17:30:14 +01:00
alif/mpconfigport: Enable cryptolib and hashlib.md5/sha1.
They are enabled when SSL/mbedTLS is included in the firmware. These new features cost around +1400 bytes of code size. Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
@@ -112,6 +112,9 @@
|
||||
|
||||
// Extended modules
|
||||
#define MICROPY_EPOCH_IS_1970 (1)
|
||||
#define MICROPY_PY_CRYPTOLIB (MICROPY_PY_SSL)
|
||||
#define MICROPY_PY_HASHLIB_MD5 (MICROPY_PY_SSL)
|
||||
#define MICROPY_PY_HASHLIB_SHA1 (MICROPY_PY_SSL)
|
||||
#define MICROPY_PY_OS_INCLUDEFILE "ports/alif/modos.c"
|
||||
#define MICROPY_PY_OS_DUPTERM (1)
|
||||
#define MICROPY_PY_OS_SEP (1)
|
||||
|
||||
Reference in New Issue
Block a user