diff options
Diffstat (limited to 'nuttx/configs/sam4e-ek/src/Makefile')
-rw-r--r-- | nuttx/configs/sam4e-ek/src/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/nuttx/configs/sam4e-ek/src/Makefile b/nuttx/configs/sam4e-ek/src/Makefile index 75d9029d3..975269671 100644 --- a/nuttx/configs/sam4e-ek/src/Makefile +++ b/nuttx/configs/sam4e-ek/src/Makefile @@ -40,7 +40,7 @@ CFLAGS += -I$(TOPDIR)/sched ASRCS = AOBJS = $(ASRCS:.S=$(OBJEXT)) -CSRCS = sam_boot.c sam_leds.c sam_buttons.c sam_spi.c sam_usbdev.c +CSRCS = sam_boot.c sam_leds.c sam_buttons.c sam_usbdev.c ifeq ($(CONFIG_HAVE_CXXINITIALIZE),y) CSRCS += sam_cxxinitialize.c @@ -58,6 +58,10 @@ ifeq ($(CONFIG_SAM34_HSMCI),y) CSRCS += sam_mmcsd.c endif +ifeq ($(CONFIG_SAM34_SPI0),y) +CSRCS += sam_spi.c +endif + ifeq ($(CONFIG_USBMSC),y) CSRCS += sam_usbmsc.c endif |