summaryrefslogtreecommitdiff
path: root/nuttx/configs/sure-pic32mx/src/Makefile
diff options
context:
space:
mode:
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