Commit ad33e246 authored by Damien George's avatar Damien George
Browse files

stmhal: Disable MICROPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE.

It uses RAM and on pyboard we are generally tight on RAM, so disable
this optimisation for general builds.  If users need the speed then
they can build their own version.  Maybe in the future we can have
different versions of pyboard firmware built with different tradeoffs.
parent 31c1f130
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
#define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_MPZ) #define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_MPZ)
#define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_FLOAT) #define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_FLOAT)
#define MICROPY_OPT_COMPUTED_GOTO (1) #define MICROPY_OPT_COMPUTED_GOTO (1)
#define MICROPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE (1) #define MICROPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE (0)
/* Enable FatFS LFNs /* Enable FatFS LFNs
0: Disable LFN feature. 0: Disable LFN feature.
1: Enable LFN with static working buffer on the BSS. Always NOT reentrant. 1: Enable LFN with static working buffer on the BSS. Always NOT reentrant.
......
Supports Markdown
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