diff options
| author | Damien George <damien@micropython.org> | 2025-11-30 16:20:56 +1100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2025-12-02 00:38:01 +1100 |
| commit | e6a7dc111438d9e9d76f2d6c9384373c382d9c27 (patch) | |
| tree | 4b766609e07d24b3bcc7778864ca4a7e08cb8582 /ports/rp2/mpconfigport.h | |
| parent | 2db2f536acd1b5701ca23d9cd065ef5479adf467 (diff) | |
rp2/mpconfigport: Enable MD5, SHA1 and cryptolib on all boards.HEADorigin/masterorigin/HEADmaster
This fixes a regression introduced by PR #17926 / commit
b5fcb33eaa682bb666c839cd4fb301175cc3564f which accidentally disabled
`hashlib.sha1` and the `cryptolib` module on rp2 boards that don't have
networking enabled, eg RPI_PICO.
`hashlib.md5` is enabled to keep the configuration the same as boards that
do have networking enabled.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'ports/rp2/mpconfigport.h')
| -rw-r--r-- | ports/rp2/mpconfigport.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ports/rp2/mpconfigport.h b/ports/rp2/mpconfigport.h index 6ce90e4f1..8cc12aff1 100644 --- a/ports/rp2/mpconfigport.h +++ b/ports/rp2/mpconfigport.h @@ -151,6 +151,9 @@ #define MICROPY_PY_OS_URANDOM (1) #define MICROPY_PY_RE_MATCH_GROUPS (1) #define MICROPY_PY_RE_MATCH_SPAN_START_END (1) +#define MICROPY_PY_HASHLIB_MD5 (1) +#define MICROPY_PY_HASHLIB_SHA1 (1) +#define MICROPY_PY_CRYPTOLIB (1) #define MICROPY_PY_TIME_GMTIME_LOCALTIME_MKTIME (1) #define MICROPY_PY_TIME_TIME_TIME_NS (1) #define MICROPY_PY_TIME_INCLUDEFILE "ports/rp2/modtime.c" |
