mirror of https://github.com/ARMmbed/mbed-os.git
CMake cores: fix NS cores
Set DOMAIN_NS=1 only for _NS cores. We had it otherway around. I verified one non NS target that was failing to build, plus also checked the old tools that had this definitions: ``` 91: "Cortex-M23-NS": ["__CORTEX_M23", "ARM_MATH_ARMV8MBL", "DOMAIN_NS=1", 92 "__CMSIS_RTOS", "__MBED_CMSIS_RTOS_CM"], 93 "Cortex-M23": ["__CORTEX_M23", "ARM_MATH_ARMV8MBL", "__CMSIS_RTOS", 94 "__MBED_CMSIS_RTOS_CM"], ```pull/14190/head
parent
1b7b620528
commit
747de9f849
|
@ -18,6 +18,7 @@ function(mbed_set_cpu_core_definitions target)
|
|||
INTERFACE
|
||||
__CORTEX_M23
|
||||
ARM_MATH_ARMV8MBL
|
||||
DOMAIN_NS=1
|
||||
__CMSIS_RTOS
|
||||
__MBED_CMSIS_RTOS_CM
|
||||
)
|
||||
|
|
|
@ -18,7 +18,6 @@ function(mbed_set_cpu_core_definitions target)
|
|||
INTERFACE
|
||||
__CORTEX_M23
|
||||
ARM_MATH_ARMV8MBL
|
||||
DOMAIN_NS=1
|
||||
__CMSIS_RTOS
|
||||
__MBED_CMSIS_RTOS_CM
|
||||
)
|
||||
|
|
|
@ -20,6 +20,7 @@ function(mbed_set_cpu_core_definitions target)
|
|||
INTERFACE
|
||||
__CORTEX_M33
|
||||
ARM_MATH_ARMV8MML
|
||||
DOMAIN_NS=1
|
||||
__CMSIS_RTOS
|
||||
__MBED_CMSIS_RTOS_CM
|
||||
)
|
||||
|
|
|
@ -20,7 +20,6 @@ function(mbed_set_cpu_core_definitions target)
|
|||
INTERFACE
|
||||
__CORTEX_M33
|
||||
ARM_MATH_ARMV8MML
|
||||
DOMAIN_NS=1
|
||||
__CMSIS_RTOS
|
||||
__MBED_CMSIS_RTOS_CM
|
||||
)
|
||||
|
|
|
@ -23,6 +23,7 @@ function(mbed_set_cpu_core_definitions target)
|
|||
INTERFACE
|
||||
__CORTEX_M33
|
||||
ARM_MATH_ARMV8MML
|
||||
DOMAIN_NS=1
|
||||
__FPU_PRESENT=1U
|
||||
__CMSIS_RTOS
|
||||
__MBED_CMSIS_RTOS_CM
|
||||
|
|
|
@ -22,7 +22,6 @@ function(mbed_set_cpu_core_definitions target)
|
|||
INTERFACE
|
||||
__CORTEX_M33
|
||||
ARM_MATH_ARMV8MML
|
||||
DOMAIN_NS=1
|
||||
__FPU_PRESENT=1U
|
||||
__CMSIS_RTOS
|
||||
__MBED_CMSIS_RTOS_CM
|
||||
|
|
Loading…
Reference in New Issue