diff options
author | Damien George <damien@micropython.org> | 2021-02-23 09:49:12 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2021-02-23 10:13:25 +1100 |
commit | 53f5bb05a9cdf59cc2deaf216c25c0c275e6dce7 (patch) | |
tree | 29393c9f22461e9c86c103f1936e0fa821bdd31a | |
parent | 75db0b907942f4b2e7306d2ce90d2f014cd5a414 (diff) |
rp2,stm32: Enable MICROPY_PY_UBINASCII_CRC32 to get ubinascii.crc32().
These ports already have uzlib enabled so this additional ubinascii.crc32
function only costs about 90 bytes of flash.
Signed-off-by: Damien George <damien@micropython.org>
-rw-r--r-- | ports/rp2/mpconfigport.h | 1 | ||||
-rw-r--r-- | ports/stm32/mpconfigport.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/ports/rp2/mpconfigport.h b/ports/rp2/mpconfigport.h index 9ba381030..b3214acfc 100644 --- a/ports/rp2/mpconfigport.h +++ b/ports/rp2/mpconfigport.h @@ -102,6 +102,7 @@ #define MICROPY_PY_URE_SUB (1) #define MICROPY_PY_UHASHLIB (1) #define MICROPY_PY_UBINASCII (1) +#define MICROPY_PY_UBINASCII_CRC32 (1) #define MICROPY_PY_UTIME_MP_HAL (1) #define MICROPY_PY_URANDOM (1) #define MICROPY_PY_URANDOM_EXTRA_FUNCS (1) diff --git a/ports/stm32/mpconfigport.h b/ports/stm32/mpconfigport.h index 5998cd908..174ef22f2 100644 --- a/ports/stm32/mpconfigport.h +++ b/ports/stm32/mpconfigport.h @@ -165,6 +165,7 @@ #define MICROPY_PY_UCRYPTOLIB (MICROPY_PY_USSL) #ifndef MICROPY_PY_UBINASCII #define MICROPY_PY_UBINASCII (1) +#define MICROPY_PY_UBINASCII_CRC32 (1) #endif #ifndef MICROPY_PY_UOS #define MICROPY_PY_UOS (1) |