summaryrefslogtreecommitdiff
path: root/src/arch/arduino-nano/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/arduino-nano/Makefile.inc')
-rw-r--r--src/arch/arduino-nano/Makefile.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/arduino-nano/Makefile.inc b/src/arch/arduino-nano/Makefile.inc
index 9e149ac..ebc77ea 100644
--- a/src/arch/arduino-nano/Makefile.inc
+++ b/src/arch/arduino-nano/Makefile.inc
@@ -37,6 +37,10 @@ else ifneq ($(findstring i2c,${arch_drivers}), )
CXX_TARGETS += src/arch/arduino-nano/driver/i2c.cc
endif
+ifneq ($(findstring spi,${arch_drivers}), )
+ CXX_TARGETS += src/arch/arduino-nano/driver/spi.cc
+endif
+
ifneq ($(findstring stdin,${arch_drivers}), )
CXX_TARGETS += src/arch/arduino-nano/driver/stdin.cc
endif