diff options
| author | Ha Thach <[email protected]> | 2025-11-25 18:06:58 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-11-25 18:06:58 +0700 |
| commit | 12814620f5a8fd91877fce094e170c38a4031b9a (patch) | |
| tree | 0523e934e5a1b1fe8331b28990ddf2e2f4478077 /examples | |
| parent | fee2d2a034d65aa625bc1a8b32c3b7a51292a39f (diff) | |
| parent | dc083e4d9c87658498a3bd0b527d25bc88dd1ed6 (diff) | |
Merge pull request #3367 from hathach/n6_build
Fix STM32N6 IAR build
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/build_system/cmake/cpu/cortex-m55.cmake | 2 |
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 "") |
