diff options
Diffstat (limited to 'nuttx/configs/lpc4330-xplorer/src/Makefile')
-rw-r--r-- | nuttx/configs/lpc4330-xplorer/src/Makefile | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/nuttx/configs/lpc4330-xplorer/src/Makefile b/nuttx/configs/lpc4330-xplorer/src/Makefile index b2541dc26..7be95126b 100644 --- a/nuttx/configs/lpc4330-xplorer/src/Makefile +++ b/nuttx/configs/lpc4330-xplorer/src/Makefile @@ -38,18 +38,28 @@ CFLAGS += -I$(TOPDIR)/sched ASRCS = -CSRCS = up_boot.c up_leds.c +CSRCS = up_boot.c ifeq ($(CONFIG_NSH_ARCHINIT),y) CSRCS += up_nsh.c endif -ifeq ($(CONFIG_USBMSC),y) -CSRCS += up_usbmsc.c +ifeq ($(CONFIG_ARCH_FPU),y) +CSRCS += up_ostest.c +endif + +ifeq ($(CONFIG_ARCH_LEDS),y) +CSRCS += up_autoleds.c +else +CSRCS += up_userleds.c endif ifeq ($(CONFIG_ARCH_BUTTONS),y) -CSRCS += up_buttons.c +CSRCS += up_buttons.c +endif + +ifeq ($(CONFIG_USBMSC),y) +CSRCS += up_usbmsc.c endif AOBJS = $(ASRCS:.S=$(OBJEXT)) |