File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ extern void common_hal_mcu_enable_interrupts(void);
87
87
#define MICROPY_OPT_COMPUTED_GOTO (1)
88
88
#define MICROPY_OPT_COMPUTED_GOTO_SAVE_SPACE (CIRCUITPY_COMPUTED_GOTO_SAVE_SPACE)
89
89
#define MICROPY_OPT_LOAD_ATTR_FAST_PATH (CIRCUITPY_OPT_LOAD_ATTR_FAST_PATH)
90
+ #define MICROPY_OPT_MAP_LOOKUP_CACHE (CIRCUITPY_OPT_MAP_LOOKUP_CACHE)
90
91
#define MICROPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE (CIRCUITPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE)
91
92
#define MICROPY_PERSISTENT_CODE_LOAD (1)
92
93
Original file line number Diff line number Diff line change @@ -162,13 +162,8 @@ CFLAGS += -DCIRCUITPY_COMPUTED_GOTO_SAVE_SPACE=$(CIRCUITPY_COMPUTED_GOTO_SAVE_SP
162
162
CIRCUITPY_OPT_LOAD_ATTR_FAST_PATH ?= 1
163
163
CFLAGS += -DCIRCUITPY_OPT_LOAD_ATTR_FAST_PATH=$(CIRCUITPY_OPT_LOAD_ATTR_FAST_PATH )
164
164
165
- # This is disabled because it changes the bytecode format. We could choose to enable it
166
- # when we go to 8.x, but probably not for 7.1.
167
- CIRCUITPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE ?= 0
168
- CFLAGS += -DCIRCUITPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE=$(CIRCUITPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE )
169
- ifeq ($(CIRCUITPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE ) ,1)
170
- MPY_CROSS_FLAGS += -mcache-lookup-bc
171
- endif
165
+ CIRCUITPY_OPT_MAP_LOOKUP_CACHE ?= $(CIRCUITPY_FULL_BUILD )
166
+ CFLAGS += -DCIRCUITPY_OPT_MAP_LOOKUP_CACHE=$(CIRCUITPY_OPT_MAP_LOOKUP_CACHE )
172
167
173
168
CIRCUITPY_CONSOLE_UART ?= 0
174
169
CFLAGS += -DCIRCUITPY_CONSOLE_UART=$(CIRCUITPY_CONSOLE_UART )
You can’t perform that action at this time.
0 commit comments