Browse Source

nrf: Enable -g flag by default.

This does not affect binary output, but makes debugging a whole lot
easier.
pull/3137/merge
Ayke van Laethem 7 years ago
committed by Damien George
parent
commit
375bc31f4b
  1. 2
      ports/nrf/Makefile

2
ports/nrf/Makefile

@ -93,7 +93,7 @@ endif
CFLAGS += $(CFLAGS_MCU_$(MCU_SERIES)) 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 += -fno-strict-aliasing
CFLAGS += -fstack-usage CFLAGS += -fstack-usage
CFLAGS += -Iboards/$(BOARD) CFLAGS += -Iboards/$(BOARD)

Loading…
Cancel
Save