summaryrefslogtreecommitdiff
path: root/src/arch/arduino-nano-168/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/arduino-nano-168/Makefile.inc')
-rw-r--r--src/arch/arduino-nano-168/Makefile.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/arduino-nano-168/Makefile.inc b/src/arch/arduino-nano-168/Makefile.inc
index 3b72c4d..f57914e 100644
--- a/src/arch/arduino-nano-168/Makefile.inc
+++ b/src/arch/arduino-nano-168/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