Commit 68219a29 authored by Jim Mussared's avatar Jim Mussared Committed by Damien George

stm32: Enable LOAD_ATTR fast path, and map lookup caching on >M0.

Signed-off-by: default avatarJim Mussared <jim.mussared@gmail.com>
parent 11ef8f22
......@@ -60,6 +60,12 @@
#define MICROPY_OPT_COMPUTED_GOTO (1)
#endif
#define MICROPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE (0)
#ifndef MICROPY_OPT_LOAD_ATTR_FAST_PATH
#define MICROPY_OPT_LOAD_ATTR_FAST_PATH (1)
#endif
#ifndef MICROPY_OPT_MAP_LOOKUP_CACHE
#define MICROPY_OPT_MAP_LOOKUP_CACHE (__CORTEX_M > 0)
#endif
#define MICROPY_OPT_MPZ_BITWISE (1)
#define MICROPY_OPT_MATH_FACTORIAL (1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment