We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee1b142 commit ad4bf75Copy full SHA for ad4bf75
ports/atmel-samd/Makefile
@@ -107,7 +107,7 @@ CFLAGS += -DCFG_TUSB_MCU=OPT_MCU_SAME5X -DCFG_TUD_MIDI_RX_BUFSIZE=128 -DCFG_TUD_
107
endif
108
109
# option to override default optimization level, set in boards/$(BOARD)/mpconfigboard.mk
110
-CFLAGS += $(OPTIMIZATION_FLAGS) -DNDEBUG
+CFLAGS += $(OPTIMIZATION_FLAGS)
111
112
$(echo PERIPHERALS_CHIP_FAMILY=$(PERIPHERALS_CHIP_FAMILY))
113
#Debugging/Optimization
@@ -121,6 +121,7 @@ ifeq ($(DEBUG), 1)
121
CFLAGS += -DENABLE_MICRO_TRACE_BUFFER
122
123
else
124
+ CFLAGS += -DNDEBUG
125
# -finline-limit can shrink the image size.
126
# -finline-limit=80 or so is similar to not having it on.
127
# There is no simple default value, though.
0 commit comments