summaryrefslogtreecommitdiff
path: root/nuttx/arch/avr/src/at90usb/Make.defs
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-06-08 18:10:55 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-06-08 18:10:55 +0000
commitc626aec4434149e17e4cd98174e59095a3a06e05 (patch)
tree7c1b6cbe99bb7af241fce8d7455181d9c025b73c /nuttx/arch/avr/src/at90usb/Make.defs
parent583f057b1912513fce544714949e29fbe8bdf253 (diff)
downloadpx4-nuttx-c626aec4434149e17e4cd98174e59095a3a06e05.tar.gz
px4-nuttx-c626aec4434149e17e4cd98174e59095a3a06e05.tar.bz2
px4-nuttx-c626aec4434149e17e4cd98174e59095a3a06e05.zip
More AVR context switching logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3683 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/avr/src/at90usb/Make.defs')
-rw-r--r--nuttx/arch/avr/src/at90usb/Make.defs18
1 files changed, 13 insertions, 5 deletions
diff --git a/nuttx/arch/avr/src/at90usb/Make.defs b/nuttx/arch/avr/src/at90usb/Make.defs
index a206f4f6f..dcff056b5 100644
--- a/nuttx/arch/avr/src/at90usb/Make.defs
+++ b/nuttx/arch/avr/src/at90usb/Make.defs
@@ -40,12 +40,20 @@ HEAD_ASRC = at90usb_head.S
# Common AVR files
CMN_ASRCS = up_switchcontext.S
-CMN_CSRCS = up_allocateheap.c up_copystate.c up_createstack.c up_exit.c \
- up_idle.c up_initialize.c up_interruptcontext.c up_lowputs.c \
- up_mdelay.c up_modifyreg8.c up_modifyreg16.c up_modifyreg32.c \
- up_puts.c up_releasestack.c up_udelay.c up_usestack.c
+CMN_CSRCS = up_allocateheap.c up_assert.c up_blocktask.c up_copystate.c \
+ up_createstack.c up_doirq.c up_exit.c up_idle.c up_initialize.c \
+ up_interruptcontext.c up_lowputs.c up_mdelay.c up_modifyreg8.c \
+ up_modifyreg16.c up_modifyreg32.c up_puts.c up_releasepending.c \
+ up_releasestack.c up_reprioritizertr.c up_schedulesigaction.c \
+ up_sigdeliver.c up_udelay.c up_unblocktask.c up_usestack.c
-# Required aT90USB files
+# Configuration-dependent common files
+
+ifeq ($(CONFIG_ARCH_STACKDUMP),y)
+CMN_CSRCS += up_dumpstate.c
+endif
+
+# Required AT90USB files
CHIP_ASRCS = at90usb_exceptions.S
CHIP_CSRCS =