diff options
| author | hathach <[email protected]> | 2023-11-15 16:07:44 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-11-15 16:07:44 +0700 |
| commit | e0d632a954349229e934bbb00352581a9be2ef3b (patch) | |
| tree | 66ac4730afc45b963dedec2b79270bc4c3a64b15 /tools | |
| parent | f84eafcaa2138a360e0baf8271b28f45cf120961 (diff) | |
add ra2a1 ek
also make some other changes
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/cmake/cpu/cortex-m23.cmake | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/cmake/cpu/cortex-m23.cmake b/tools/cmake/cpu/cortex-m23.cmake new file mode 100644 index 000000000..3093dc99a --- /dev/null +++ b/tools/cmake/cpu/cortex-m23.cmake @@ -0,0 +1,17 @@ +if (TOOLCHAIN STREQUAL "gcc") + set(TOOLCHAIN_COMMON_FLAGS + -mthumb + -mcpu=cortex-m23 + -mfloat-abi=soft + ) + + set(FREERTOS_PORT GCC_ARM_CM0 CACHE INTERNAL "") + +elseif (TOOLCHAIN STREQUAL "iar") + set(TOOLCHAIN_COMMON_FLAGS + --cpu cortex-m23 + ) + + set(FREERTOS_PORT IAR_ARM_CM0 CACHE INTERNAL "") + +endif () |
