diff options
| author | Jerry Palacios <[email protected]> | 2024-02-09 11:07:51 -0600 |
|---|---|---|
| committer | Jerry Palacios <[email protected]> | 2024-02-09 11:07:51 -0600 |
| commit | b44cae8f182408031290268ca7b42f3c77665225 (patch) | |
| tree | af6076409e859d596733cf55521afb90496cf7d7 /examples/build_system/cmake | |
| parent | 73122cd5f90d3516474e89f30ee8e2266d03d5d8 (diff) | |
frdmmcxa153 now working with cmake+ninja
Diffstat (limited to 'examples/build_system/cmake')
| -rw-r--r-- | examples/build_system/cmake/cpu/cortex-m33-nodsp-nofp.cmake | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/build_system/cmake/cpu/cortex-m33-nodsp-nofp.cmake b/examples/build_system/cmake/cpu/cortex-m33-nodsp-nofp.cmake new file mode 100644 index 000000000..7946affbe --- /dev/null +++ b/examples/build_system/cmake/cpu/cortex-m33-nodsp-nofp.cmake @@ -0,0 +1,17 @@ +if (TOOLCHAIN STREQUAL "gcc") + set(TOOLCHAIN_COMMON_FLAGS + -mthumb + -mcpu=cortex-m33+nodsp + -mfloat-abi=soft + ) + + set(FREERTOS_PORT GCC_ARM_CM33_NTZ_NONSECURE CACHE INTERNAL "") + +elseif (TOOLCHAIN STREQUAL "iar") + set(TOOLCHAIN_COMMON_FLAGS + --cpu cortex-m33+nodsp + ) + + set(FREERTOS_PORT IAR_ARM_CM4F CACHE INTERNAL "") + +endif () |
