summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorZixun LI <[email protected]>2025-11-25 10:49:07 +0100
committerZixun LI <[email protected]>2025-11-25 10:49:07 +0100
commite59b2c40fc9e655918629d73cc8c54b86b4a70c1 (patch)
tree6e85198a174abc0513189ef611de04c63ec485d6 /examples
parent5130850337c1e8e0eedfa2d7165413de27ff6d2f (diff)
Fix N6 build
Signed-off-by: Zixun LI <[email protected]>
Diffstat (limited to 'examples')
-rw-r--r--examples/build_system/cmake/cpu/cortex-m55.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/build_system/cmake/cpu/cortex-m55.cmake b/examples/build_system/cmake/cpu/cortex-m55.cmake
index a7a57957c..d5f6fa74a 100644
--- a/examples/build_system/cmake/cpu/cortex-m55.cmake
+++ b/examples/build_system/cmake/cpu/cortex-m55.cmake
@@ -13,6 +13,7 @@ elseif (TOOLCHAIN STREQUAL "clang")
--target=arm-none-eabi
-mcpu=cortex-m55
-mfpu=fpv5-d16
+ -mcmse
)
set(FREERTOS_PORT GCC_ARM_CM55_NTZ_NONSECURE CACHE INTERNAL "")
@@ -20,6 +21,7 @@ elseif (TOOLCHAIN STREQUAL "iar")
set(TOOLCHAIN_COMMON_FLAGS
--cpu cortex-m55
--fpu VFPv5_D16
+ --cmse
)
set(FREERTOS_PORT IAR_ARM_CM55_NTZ_NONSECURE CACHE INTERNAL "")