Skip to content

Commit 0e3aa27

Browse files
committed
Change optimizer option so RP2040 DEBUG builds work
1 parent 1825fc8 commit 0e3aa27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ports/raspberrypi/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ CFLAGS += $(OPTIMIZATION_FLAGS)
117117

118118
#Debugging/Optimization
119119
ifeq ($(DEBUG), 1)
120-
CFLAGS += -ggdb3 -Og
120+
CFLAGS += -ggdb3 -O3
121121
# No LTO because we may place some functions in RAM instead of flash.
122122
else
123123
CFLAGS += -DNDEBUG

0 commit comments

Comments
 (0)