diff --git a/ports/nrf/Makefile b/ports/nrf/Makefile index 6385092593..5dec98ab7c 100644 --- a/ports/nrf/Makefile +++ b/ports/nrf/Makefile @@ -89,8 +89,8 @@ LDFLAGS += -Wl,--gc-sections #Debugging/Optimization ifeq ($(DEBUG), 1) #ASMFLAGS += -g -gtabs+ -CFLAGS += -O0 -ggdb -LDFLAGS += -O0 +CFLAGS += -O1 -ggdb +LDFLAGS += -O1 else CFLAGS += -Os -DNDEBUG LDFLAGS += -Os