Commit 5ef71cd1 authored by Andrew Leech's avatar Andrew Leech Committed by Damien George

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.
parent 7be1f779
......@@ -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
......
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