Skip to content

Commit

Permalink
Merge pull request #9925 from eightycc/revert-5210
Browse files Browse the repository at this point in the history
Revert pull 5210, set DEBUG=1 gcc optimization flag to -Og for the RP2 port.
  • Loading branch information
dhalbert authored Dec 30, 2024
2 parents 075feef + 37a1d47 commit d9ea4ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ports/raspberrypi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ CFLAGS += $(OPTIMIZATION_FLAGS)
CFLAGS += $(CFLAGS_CYW43)
#Debugging/Optimization
ifeq ($(DEBUG), 1)
CFLAGS += -ggdb3 -O3
CFLAGS += -ggdb3 -Og
# No LTO because we may place some functions in RAM instead of flash.
else
CFLAGS += -DNDEBUG
Expand Down

0 comments on commit d9ea4ab

Please sign in to comment.