nrf/mpconfigport: Enable extra features as defined by ROM levels.
This commit enables extra features from the ROM levels and further simplifies mpconfigport.h. The changes are: - NRF51822 & BLUETOOTH_SD -> MICROPY_CONFIG_ROM_LEVEL_MINIMUM - no changes - NRF51822 -> MICROPY_CONFIG_ROM_LEVEL_CORE_FEATURES - MICROPY_PY_IO = 1 - NRF52832 -> MICROPY_CONFIG_ROM_LEVEL_BASIC_FEATURES - MICROPY_PY_IO = 1 - NRF52840, NRF9160 -> MICROPY_CONFIG_ROM_LEVEL_EXTRA_FEATURES - MICROPY_COMP_MODULE_CONST = 1 - MICROPY_COMP_TRIPLE_TUPLE_ASSIGN = 1 - MICROPY_OPT_MPZ_BITWISE = 1 - MICROPY_PY_ALL_SPECIAL_METHODS = 1 - MICROPY_PY_BUILTINS_EXECFILE = 1 - MICROPY_PY_BUILTINS_SLICE_ATTRS = 1 - MICROPY_PY_BUILTINS_STR_CENTER = 1 - MICROPY_PY_BUILTINS_STR_PARTITION = 1 - MICROPY_PY_BUILTINS_STR_SPLITLINES = 1 - MICROPY_PY_CMATH = 1 - MICROPY_PY_COLLECTIONS_ORDEREDDICT = 1 - MICROPY_PY_FRAMEBUF = 1 - MICROPY_PY_IO = 1 - MICROPY_PY_MATH_SPECIAL_FUNCTIONS = 1 - MICROPY_PY_SYS_STDIO_BUFFER = 1 - MICROPY_PY_UCTYPES = 1 - MICROPY_PY_UHEAPQ = 1 - MICROPY_PY_UJSON = 1 - MICROPY_PY_URE = 1 - MICROPY_PY_UZLIB = 1 - MICROPY_REPL_EMACS_KEYS = 1
Showing
Please register or sign in to comment