extmod/modubinascii: Make crc32() support configurable.

Disable by default, enable in unix port.
This commit is contained in:
Paul Sokolovsky
2016-08-24 18:28:43 +03:00
parent 39799f7564
commit c428367543
4 changed files with 16 additions and 0 deletions

View File

@@ -887,6 +887,11 @@ typedef double mp_float_t;
#define MICROPY_PY_UBINASCII (0)
#endif
// Depends on MICROPY_PY_UZLIB
#ifndef MICROPY_PY_UBINASCII_CRC32
#define MICROPY_PY_UBINASCII_CRC32 (0)
#endif
#ifndef MICROPY_PY_URANDOM
#define MICROPY_PY_URANDOM (0)
#endif