Skip to content

Commit 2e41550

Browse files
authored
Merge pull request #5210 from DavePutz/issue_5091
Change optimizer option so RP2040 DEBUG builds work
2 parents 66404a3 + 0e3aa27 commit 2e41550

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)