diff options
Diffstat (limited to 'atmel-samd')
| -rw-r--r-- | atmel-samd/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/atmel-samd/Makefile b/atmel-samd/Makefile index 7111bee09..9e3a10bd8 100644 --- a/atmel-samd/Makefile +++ b/atmel-samd/Makefile @@ -132,6 +132,7 @@ CFLAGS = $(INC) -Wall -Werror -std=gnu11 -nostdlib $(CFLAGS_CORTEX_M0) $(CFLAGS_ ifeq ($(DEBUG), 1) # NDEBUG disables assert() statements. This reduces code size pretty dramatically, per tannewt. # Turn on Python modules useful for debugging (e.g. uheap, ustack). +# -DMICROPY_DEBUG_MODULES may also be added to an -flto build, if you wish. CFLAGS += -Os -ggdb -DNDEBUG -DENABLE_MICRO_TRACE_BUFFER -DMICROPY_DEBUG_MODULES else CFLAGS += -Os -DNDEBUG -flto |
