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 47683fcd0..b3451aaa1 100644
--- a/nuttx/arch/avr/src/atmega/Make.defs
+++ b/nuttx/arch/avr/src/atmega/Make.defs
@@ -62,6 +62,10 @@ ifeq ($(CONFIG_DEBUG_STACK),y)
CMN_CSRCS += up_checkstack.c
endif
+ifeq ($(CONFIG_ARCH_ROMGETC),y)
+CMN_CSRCS += up_romgetc.c
+endif
+
# Required ATMEGA files
CHIP_ASRCS = atmega_exceptions.S