summaryrefslogtreecommitdiff
path: root/nuttx/configs/stm3210e-eval/src/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-07-05 22:45:31 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-07-05 22:45:31 +0000
commitc86cddbed8e3064e5b62e3d49d5bd168a0fa40d4 (patch)
treef1f2a11cf4860b79238514811bb5fc20705591b4 /nuttx/configs/stm3210e-eval/src/Makefile
parentd633f1734fb903a55a9beee375a6a1f386d3f2d6 (diff)
downloadpx4-nuttx-c86cddbed8e3064e5b62e3d49d5bd168a0fa40d4.tar.gz
px4-nuttx-c86cddbed8e3064e5b62e3d49d5bd168a0fa40d4.tar.bz2
px4-nuttx-c86cddbed8e3064e5b62e3d49d5bd168a0fa40d4.zip
Add NX configuration for the STM3210E-EVAL board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3746 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/stm3210e-eval/src/Makefile')
-rwxr-xr-xnuttx/configs/stm3210e-eval/src/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/nuttx/configs/stm3210e-eval/src/Makefile b/nuttx/configs/stm3210e-eval/src/Makefile
index 2c8fdc580..3a7ac3e67 100755
--- a/nuttx/configs/stm3210e-eval/src/Makefile
+++ b/nuttx/configs/stm3210e-eval/src/Makefile
@@ -40,17 +40,22 @@ CFLAGS += -I$(TOPDIR)/sched
ASRCS =
AOBJS = $(ASRCS:.S=$(OBJEXT))
-CSRCS = up_boot.c up_lcd.c up_leds.c up_buttons.c up_spi.c \
- up_usbdev.c up_extcontext.c up_selectnor.c up_deselectnor.c \
- up_selectsram.c up_deselectsram.c up_selectlcd.c \
- up_deselectlcd.c
+CSRCS = up_boot.c up_leds.c up_buttons.c up_spi.c up_usbdev.c
+
+ifeq ($(CONFIG_STM32_FSMC),y)
+CSRCS += up_lcd.c up_extcontext.c up_extmem.c up_selectnor.c \
+ up_deselectnor.c up_selectsram.c up_deselectsram.c \
+ up_selectlcd.c up_deselectlcd.c
+endif
ifeq ($(CONFIG_NSH_ARCHINIT),y)
CSRCS += up_nsh.c
endif
+
ifeq ($(CONFIG_USBSTRG),y)
CSRCS += up_usbstrg.c
endif
+
COBJS = $(CSRCS:.c=$(OBJEXT))
SRCS = $(ASRCS) $(CSRCS)