Skip to content

Commit 19c6c96

Browse files
authored
Merge pull request adafruit#2130 from jepler/nrf-debugflags
nrf: Makefile: sensible flags for debugging
2 parents 67c35bb + e890bc8 commit 19c6c96

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

ports/nrf/Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,7 @@ INC += -I../../supervisor/shared/usb
9090

9191
#Debugging/Optimization
9292
ifeq ($(DEBUG), 1)
93-
CFLAGS += -ggdb
94-
# You may want to enable these flags to make setting breakpoints easier.
95-
CFLAGS += -fno-inline -fno-ipa-sra
93+
CFLAGS += -ggdb3 -Og
9694
else
9795
CFLAGS += -Os -DNDEBUG
9896
CFLAGS += -flto -flto-partition=none

0 commit comments

Comments
 (0)