summaryrefslogtreecommitdiff
path: root/nuttx/configs/mirtoo/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/mirtoo/src/Makefile')
-rw-r--r--nuttx/configs/mirtoo/src/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/configs/mirtoo/src/Makefile b/nuttx/configs/mirtoo/src/Makefile
index ed4a6e00a..fbde5728f 100644
--- a/nuttx/configs/mirtoo/src/Makefile
+++ b/nuttx/configs/mirtoo/src/Makefile
@@ -38,10 +38,10 @@
CFLAGS += -I$(TOPDIR)/sched
ASRCS =
-CSRCS = up_boot.c
+CSRCS = up_boot.c up_leds.c
-ifeq ($(CONFIG_ARCH_LEDS),y)
-CSRCS += up_leds.c
+ifeq ($(CONFIG_PIC32MX_SPI2),y)
+CSRCS += up_spi2.c
endif
AOBJS = $(ASRCS:.S=$(OBJEXT))