mirror of
https://github.com/licsber/micropython.git
synced 2024-09-20 00:50:24 +08:00
stm32: Disable qstr hashing on small boards.
Sets MICROPY_QSTR_BYTES_IN_HASH==0 on stm32x0 boards. This saves e.g. 2kiB on NUCLEO_F091. This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
This commit is contained in:
parent
7ea503929a
commit
8486e28b17
@ -7,6 +7,8 @@
|
||||
|
||||
#define MICROPY_CONFIG_ROM_LEVEL (MICROPY_CONFIG_ROM_LEVEL_CORE_FEATURES)
|
||||
|
||||
#define MICROPY_QSTR_BYTES_IN_HASH (0)
|
||||
|
||||
#define MICROPY_HELPER_REPL (1)
|
||||
#define MICROPY_KBD_EXCEPTION (1)
|
||||
#define MICROPY_EMIT_THUMB (0)
|
||||
|
@ -1,6 +1,8 @@
|
||||
#define MICROPY_HW_BOARD_NAME "NUCLEO-F091RC"
|
||||
#define MICROPY_HW_MCU_NAME "STM32F091RCT6"
|
||||
|
||||
#define MICROPY_QSTR_BYTES_IN_HASH (0)
|
||||
|
||||
#define MICROPY_EMIT_THUMB (0)
|
||||
#define MICROPY_EMIT_INLINE_THUMB (0)
|
||||
#define MICROPY_OPT_COMPUTED_GOTO (0)
|
||||
|
@ -5,6 +5,8 @@
|
||||
#define MICROPY_HW_BOARD_NAME "NUCLEO-L073RZ"
|
||||
#define MICROPY_HW_MCU_NAME "STM32L073RZT6"
|
||||
|
||||
#define MICROPY_QSTR_BYTES_IN_HASH (0)
|
||||
|
||||
#define MICROPY_EMIT_THUMB (0)
|
||||
#define MICROPY_EMIT_INLINE_THUMB (0)
|
||||
#define MICROPY_OPT_COMPUTED_GOTO (0)
|
||||
|
Loading…
Reference in New Issue
Block a user