diff options
author | Glenn Ruben Bakke <glennbakke@gmail.com> | 2020-06-27 13:07:39 +0200 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2020-07-01 22:54:52 +1000 |
commit | c2317a3a8d5f184de2f816078d91be699274b94e (patch) | |
tree | 951cf4d565676faa2cce7fd36fbddf6b9e2e454e /py/objstrunicode.c | |
parent | f22f7b285e69aa05ce2dcf1e26de626dd1b1599d (diff) |
nrf/Makefile: Disable ROM text compression when compiling for debug.
When compiling for debug (-O0) the .text segment cannot fit the flash
region when MICROPY_ROM_TEXT_COMPRESSION=1, because the compiler does not
optimise away the large if-else chain used to select the correct compressed
string.
This commit enforces MICROPY_ROM_TEXT_COMPRESSION=0 when compiling for
debug (DEBUG=1).
Diffstat (limited to 'py/objstrunicode.c')
0 files changed, 0 insertions, 0 deletions