summaryrefslogtreecommitdiff
path: root/nuttx/arch/avr/src/atmega/Make.defs
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/avr/src/atmega/Make.defs')
-rw-r--r--nuttx/arch/avr/src/atmega/Make.defs4
1 files changed, 4 insertions, 0 deletions
diff --git a/nuttx/arch/avr/src/atmega/Make.defs b/nuttx/arch/avr/src/atmega/Make.defs
index 16f0f5a62..47683fcd0 100644
--- a/nuttx/arch/avr/src/atmega/Make.defs
+++ b/nuttx/arch/avr/src/atmega/Make.defs
@@ -58,6 +58,10 @@ ifeq ($(CONFIG_AVR_SPI),y)
CMN_CSRCS += up_spi.c
endif
+ifeq ($(CONFIG_DEBUG_STACK),y)
+CMN_CSRCS += up_checkstack.c
+endif
+
# Required ATMEGA files
CHIP_ASRCS = atmega_exceptions.S