summaryrefslogtreecommitdiff
path: root/nuttx/arch/avr/src/atmega/Make.defs
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-06-17 22:03:20 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-06-17 22:03:20 +0000
commit8c6ebe6f07cb81ab197850c2af4c75fb50e5f1cb (patch)
tree87740e93bfb0a2278940052bed3033e8416a1ea2 /nuttx/arch/avr/src/atmega/Make.defs
parent1fa5b196fa1600c907dbab13859a4f731e48470d (diff)
downloadpx4-nuttx-8c6ebe6f07cb81ab197850c2af4c75fb50e5f1cb.tar.gz
px4-nuttx-8c6ebe6f07cb81ab197850c2af4c75fb50e5f1cb.tar.bz2
px4-nuttx-8c6ebe6f07cb81ab197850c2af4c75fb50e5f1cb.zip
Fix AVR clock setup; add SPI driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3721 42af7a65-404d-4744-a932-0658087f49c3
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