mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 19:50:30 +01:00
stm32/Makefile: Disable text compression in debug builds.
Otherwise the flash overflows. Fixes issue #6653.
This commit is contained in:
committed by
Damien George
parent
849748873c
commit
ce9197eb20
@@ -134,6 +134,8 @@ LDFLAGS += --gc-sections
|
||||
ifeq ($(DEBUG), 1)
|
||||
CFLAGS += -g -DPENDSV_DEBUG
|
||||
COPT = -O0
|
||||
# Disable text compression in debug builds
|
||||
MICROPY_ROM_TEXT_COMPRESSION = 0
|
||||
else
|
||||
COPT += -Os -DNDEBUG
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user