fix missing define of NONSTANDARD_TYPECODES

This commit is contained in:
Jeff Epler 2023-09-20 11:21:10 -05:00
parent 649ea62f57
commit 57c3dfd579
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE
1 changed files with 5 additions and 0 deletions

View File

@ -1398,6 +1398,11 @@ typedef double mp_float_t;
#define MICROPY_PY_STRUCT (MICROPY_CONFIG_ROM_LEVEL_AT_LEAST_CORE_FEATURES)
#endif
// Whether to provide non-standard typecodes in "struct" module
#ifndef MICROPY_NONSTANDARD_TYPECODES
#define MICROPY_NONSTANDARD_TYPECODES (1)
#endif
// Whether to provide "sys" module
#ifndef MICROPY_PY_SYS
#define MICROPY_PY_SYS (MICROPY_CONFIG_ROM_LEVEL_AT_LEAST_CORE_FEATURES)