Change optimizer option so RP2040 DEBUG builds work

This commit is contained in:
root 2021-08-23 21:37:34 -05:00
parent 1825fc86d3
commit 0e3aa27794
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ CFLAGS += $(OPTIMIZATION_FLAGS)
#Debugging/Optimization
ifeq ($(DEBUG), 1)
CFLAGS += -ggdb3 -Og
CFLAGS += -ggdb3 -O3
# No LTO because we may place some functions in RAM instead of flash.
else
CFLAGS += -DNDEBUG