diff options
Diffstat (limited to 'nuttx/arch/arm/src/stm32/Make.defs')
-rw-r--r-- | nuttx/arch/arm/src/stm32/Make.defs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/stm32/Make.defs b/nuttx/arch/arm/src/stm32/Make.defs index d51c360fe..c26843039 100644 --- a/nuttx/arch/arm/src/stm32/Make.defs +++ b/nuttx/arch/arm/src/stm32/Make.defs @@ -64,6 +64,13 @@ ifeq ($(CONFIG_ARCH_MEMCPY),y) CMN_ASRCS += up_memcpy.S endif +ifeq ($(CONFIG_NUTTX_KERNEL),y) +CMN_CSRCS += up_mpu.c up_task_start.c up_pthread_start.c up_stackframe.c +ifneq ($(CONFIG_DISABLE_SIGNALS),y) +CMN_CSRCS += up_signal_handler.c +endif +endif + ifeq ($(CONFIG_DEBUG_STACK),y) CMN_CSRCS += up_checkstack.c endif @@ -87,6 +94,10 @@ ifeq ($(CONFIG_ARMV7M_CMNVECTOR),y) CHIP_ASRCS += stm32_vectors.S endif +ifeq ($(CONFIG_NUTTX_KERNEL),y) +CHIP_CSRCS += stm32_userspace.c stm32_mpuinit.c +endif + ifeq ($(CONFIG_USBDEV),y) ifeq ($(CONFIG_STM32_USB),y) CHIP_CSRCS += stm32_usbdev.c |