summaryrefslogtreecommitdiff
path: root/nuttx/configs/stm3220g-eval/src/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-07 22:32:35 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-07 22:32:35 +0000
commit76679d0c390efeb91f64d0be626ae4cfb2df93a6 (patch)
treea89d116e448e00f782ae1d9fdd3742f7264e728c /nuttx/configs/stm3220g-eval/src/Makefile
parentbcb1a538de42c6ac901be52239a9e907734a9e0f (diff)
downloadpx4-nuttx-76679d0c390efeb91f64d0be626ae4cfb2df93a6.tar.gz
px4-nuttx-76679d0c390efeb91f64d0be626ae4cfb2df93a6.tar.bz2
px4-nuttx-76679d0c390efeb91f64d0be626ae4cfb2df93a6.zip
Updates the STM3220G-EVAL configurations
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4572 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/stm3220g-eval/src/Makefile')
-rw-r--r--nuttx/configs/stm3220g-eval/src/Makefile18
1 files changed, 17 insertions, 1 deletions
diff --git a/nuttx/configs/stm3220g-eval/src/Makefile b/nuttx/configs/stm3220g-eval/src/Makefile
index 3cc204063..b79189cb1 100644
--- a/nuttx/configs/stm3220g-eval/src/Makefile
+++ b/nuttx/configs/stm3220g-eval/src/Makefile
@@ -1,7 +1,7 @@
############################################################################
# configs/stm3220g-eval/src/Makefile
#
-# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
+# Copyright (C) 2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -42,6 +42,10 @@ AOBJS = $(ASRCS:.S=$(OBJEXT))
CSRCS = up_boot.c up_spi.c
+ifeq ($(CONFIG_HAVE_CXX),y)
+CSRCS += up_cxxinitialize.c
+endif
+
ifeq ($(CONFIG_ARCH_LEDS),y)
CSRCS += up_autoleds.c
else
@@ -52,6 +56,14 @@ ifeq ($(CONFIG_ARCH_BUTTONS),y)
CSRCS += up_buttons.c
endif
+ifeq ($(CONFIG_USBDEV),y)
+CSRCS += up_usbdev.c
+endif
+
+ifeq ($(CONFIG_STM32_FSMC),y)
+CSRCS += up_extmem.c up_selectsram.c up_deselectsram.c
+endif
+
ifeq ($(CONFIG_ADC),y)
CSRCS += up_adc.c
endif
@@ -68,6 +80,10 @@ ifeq ($(CONFIG_NSH_ARCHINIT),y)
CSRCS += up_nsh.c
endif
+ifeq ($(CONFIG_ARCH_FPU),y)
+CSRCS += up_ostest.c
+endif
+
COBJS = $(CSRCS:.c=$(OBJEXT))
SRCS = $(ASRCS) $(CSRCS)