From 8c6ebe6f07cb81ab197850c2af4c75fb50e5f1cb Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 17 Jun 2011 22:03:20 +0000 Subject: 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 --- nuttx/arch/avr/src/atmega/Make.defs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nuttx/arch/avr/src/atmega/Make.defs') 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 -- cgit v1.2.3