mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 04:00:28 +01:00
stm32/mboot: Change debug compiler optimisation from -O0 to -Og.
With mboot encrpytion and fsload enabled, the DEBUG build -O0 compiler settings result in mboot no longer fitting in the 32k sector. This commit changes this to -Og which also brings it into line with the regular stm32 build.
This commit is contained in:
committed by
Damien George
parent
7be1f77902
commit
5ef71cd167
@@ -92,7 +92,7 @@ LDFLAGS += --gc-sections
|
||||
# Debugging/Optimization
|
||||
ifeq ($(DEBUG), 1)
|
||||
CFLAGS += -g -DPENDSV_DEBUG
|
||||
COPT = -O0
|
||||
COPT = -Og
|
||||
else
|
||||
COPT += -Os -DNDEBUG
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user