Skip to content

Commit

Permalink
Revert pull 5210, set DEBUG=1 gcc optimization flag to -Og.
Browse files Browse the repository at this point in the history
  • Loading branch information
eightycc committed Dec 29, 2024
1 parent 27beb0e commit 37a1d47
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 37a1d47

Please sign in to comment.