summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAyke van Laethem <aykevanlaethem@gmail.com>2018-03-26 18:28:26 +0200
committerDamien George <damien.p.george@gmail.com>2018-07-18 17:12:26 +1000
commit375bc31f4b61d8214b42b4f07c349e8d59304d24 (patch)
tree1a9fb991a1b9ecdb8628df0119abb5f875eda5b0
parent1949719e1db6376b6f925d337cc2ac319ef8ecdf (diff)
nrf: Enable -g flag by default.
This does not affect binary output, but makes debugging a whole lot easier.
-rw-r--r--ports/nrf/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/nrf/Makefile b/ports/nrf/Makefile
index 2a9bf8eb7..bcd48198d 100644
--- a/ports/nrf/Makefile
+++ b/ports/nrf/Makefile
@@ -93,7 +93,7 @@ endif
CFLAGS += $(CFLAGS_MCU_$(MCU_SERIES))
-CFLAGS += $(INC) -Wall -Werror -ansi -std=gnu99 -nostdlib $(COPT) $(NRF_DEFINES) $(CFLAGS_MOD)
+CFLAGS += $(INC) -Wall -Werror -g -ansi -std=gnu99 -nostdlib $(COPT) $(NRF_DEFINES) $(CFLAGS_MOD)
CFLAGS += -fno-strict-aliasing
CFLAGS += -fstack-usage
CFLAGS += -Iboards/$(BOARD)