summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/lpc17xx/Make.defs
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/arm/src/lpc17xx/Make.defs')
-rw-r--r--nuttx/arch/arm/src/lpc17xx/Make.defs8
1 files changed, 8 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/lpc17xx/Make.defs b/nuttx/arch/arm/src/lpc17xx/Make.defs
index b7bf38279..679e51a5f 100644
--- a/nuttx/arch/arm/src/lpc17xx/Make.defs
+++ b/nuttx/arch/arm/src/lpc17xx/Make.defs
@@ -63,6 +63,10 @@ ifeq ($(CONFIG_ARCH_MEMCPY),y)
CMN_ASRCS += up_memcpy.S
endif
+ifeq ($(CONFIG_NUTTX_KERNEL),y)
+CMN_CSRCS += up_mpu.c
+endif
+
ifeq ($(CONFIG_NET),y)
ifneq ($(CONFIG_LPC17_ETHERNET),y)
CMN_CSRCS += up_etherstub.c
@@ -91,6 +95,10 @@ ifeq ($(CONFIG_ARMV7M_CMNVECTOR),y)
CHIP_ASRCS += lpc17_vectors.S
endif
+ifeq ($(CONFIG_NUTTX_KERNEL),y)
+CHIP_CSRCS += lpc17_userspace.c lpc17_mpuinit.c
+endif
+
ifeq ($(CONFIG_LPC17_EMC),y)
CHIP_CSRCS += lpc17_emc.c
endif