summaryrefslogtreecommitdiff
path: root/nuttx/configs/sure-pic32mx/src/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-03-12 15:47:47 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-03-12 15:47:47 +0000
commitb645b5c1455b966355309ec2ef1e707b9df13a98 (patch)
tree8400159fc729e724a6f08e6001bbd87d1013ab73 /nuttx/configs/sure-pic32mx/src/Makefile
parent0ea4808dbfc045d2187c0d896da46a6c58b26032 (diff)
downloadpx4-nuttx-b645b5c1455b966355309ec2ef1e707b9df13a98.tar.gz
px4-nuttx-b645b5c1455b966355309ec2ef1e707b9df13a98.tar.bz2
px4-nuttx-b645b5c1455b966355309ec2ef1e707b9df13a98.zip
Add support for the Sure DB-DP11212 PIC32 board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4476 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/sure-pic32mx/src/Makefile')
-rw-r--r--nuttx/configs/sure-pic32mx/src/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/nuttx/configs/sure-pic32mx/src/Makefile b/nuttx/configs/sure-pic32mx/src/Makefile
index f934ae35a..f5f9a89ea 100644
--- a/nuttx/configs/sure-pic32mx/src/Makefile
+++ b/nuttx/configs/sure-pic32mx/src/Makefile
@@ -40,9 +40,14 @@ CFLAGS += -I$(TOPDIR)/sched
ASRCS =
CSRCS = up_boot.c up_spi.c
+# Only the DB_DP11215 PIC32 Storage Demo Board board has user controllable
+# LEDs
+
+ifeq ($(CONFIG_ARCH_DBDP11215),y)
ifeq ($(CONFIG_ARCH_LEDS),y)
CSRCS += up_leds.c
endif
+endif
ifeq ($(CONFIG_ARCH_BUTTONS),y)
CSRCS += up_buttons.c