mirror of
https://github.com/apache/nuttx.git
synced 2026-05-24 07:46:16 +08:00
arch/arm: Aligned Cmake with Make
- use chip specific vectors to allow smpcall update regs apache#14363 Signed-off-by: simbit18 <simbit18@gmail.com>
This commit is contained in:
@@ -32,8 +32,11 @@ set(SRCS
|
||||
arm_svcall.c
|
||||
arm_systemreset.c
|
||||
arm_tcbinfo.c
|
||||
arm_trigger_irq.c
|
||||
arm_vectors.c)
|
||||
arm_trigger_irq.c)
|
||||
|
||||
if(NOT CONFIG_ARCH_HAVE_CUSTOM_VECTORS)
|
||||
list(APPEND SRCS arm_vectors.c)
|
||||
endif()
|
||||
|
||||
if((DEFINED CONFIG_DEBUG_FEATURES AND CONFIG_DEBUG_FEATURES)
|
||||
OR (DEFINED CONFIG_ARM_COREDUMP_REGION AND CONFIG_ARM_COREDUMP_REGION))
|
||||
|
||||
@@ -26,7 +26,6 @@ set(SRCS
|
||||
arm_exception.S
|
||||
arm_saveusercontext.S
|
||||
arm_busfault.c
|
||||
arm_dbgmonitor.c
|
||||
arm_cache.c
|
||||
arm_cpuinfo.c
|
||||
arm_doirq.c
|
||||
@@ -42,9 +41,12 @@ set(SRCS
|
||||
arm_tcbinfo.c
|
||||
arm_trigger_irq.c
|
||||
arm_usagefault.c
|
||||
arm_vectors.c
|
||||
arm_dbgmonitor.c)
|
||||
|
||||
if(NOT CONFIG_ARCH_HAVE_CUSTOM_VECTORS)
|
||||
list(APPEND SRCS arm_vectors.c)
|
||||
endif()
|
||||
|
||||
if(CONFIG_ARMV7M_SYSTICK)
|
||||
list(APPEND SRCS arm_systick.c)
|
||||
endif()
|
||||
|
||||
@@ -42,8 +42,11 @@ set(SRCS
|
||||
arm_systemreset.c
|
||||
arm_tcbinfo.c
|
||||
arm_trigger_irq.c
|
||||
arm_usagefault.c
|
||||
arm_vectors.c)
|
||||
arm_usagefault.c)
|
||||
|
||||
if(NOT CONFIG_ARCH_HAVE_CUSTOM_VECTORS)
|
||||
list(APPEND SRCS arm_vectors.c)
|
||||
endif()
|
||||
|
||||
if(CONFIG_ARMV8M_SYSTICK)
|
||||
list(APPEND SRCS arm_systick.c)
|
||||
|
||||
Reference in New Issue
Block a user