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>
This commit is contained in:
Damien George 2021-02-23 09:49:12 +11:00
parent 75db0b9079
commit 53f5bb05a9
2 changed files with 2 additions and 0 deletions

View File

@ -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)

View File

@ -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)