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 a761b4938..16f0f5a62 100644
--- a/nuttx/arch/avr/src/atmega/Make.defs
+++ b/nuttx/arch/avr/src/atmega/Make.defs
@@ -54,6 +54,10 @@ ifeq ($(CONFIG_ARCH_STACKDUMP),y)
CMN_CSRCS += up_dumpstate.c
endif
+ifeq ($(CONFIG_AVR_SPI),y)
+CMN_CSRCS += up_spi.c
+endif
+
# Required ATMEGA files
CHIP_ASRCS = atmega_exceptions.S