Change optimizer option so RP2040 DEBUG builds work
This commit is contained in:
parent
1825fc86d3
commit
0e3aa27794
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user