summaryrefslogtreecommitdiff
path: root/tools/cmake/cpu/cortex-m4.cmake
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-11-23 20:06:22 +0700
committerhathach <[email protected]>2023-11-23 20:06:22 +0700
commit7213b8abb126cb6a1c88bd1e6d89b7dbacf339d8 (patch)
treeab8e7d2ac20b180612d6a3d6b51d1ab631f00094 /tools/cmake/cpu/cortex-m4.cmake
parent54356a719e3968702d86346ec6305679ebd9dd0f (diff)
move tools/cmake to examples/build_system
Diffstat (limited to 'tools/cmake/cpu/cortex-m4.cmake')
-rw-r--r--tools/cmake/cpu/cortex-m4.cmake23
1 files changed, 0 insertions, 23 deletions
diff --git a/tools/cmake/cpu/cortex-m4.cmake b/tools/cmake/cpu/cortex-m4.cmake
deleted file mode 100644
index 4e9bc242d..000000000
--- a/tools/cmake/cpu/cortex-m4.cmake
+++ /dev/null
@@ -1,23 +0,0 @@
-if (TOOLCHAIN STREQUAL "gcc")
- set(TOOLCHAIN_COMMON_FLAGS
- -mthumb
- -mcpu=cortex-m4
- -mfloat-abi=hard
- -mfpu=fpv4-sp-d16
- )
-
- if (NOT DEFINED FREERTOS_PORT)
- set(FREERTOS_PORT GCC_ARM_CM4F CACHE INTERNAL "")
- endif ()
-
-elseif (TOOLCHAIN STREQUAL "iar")
- set(TOOLCHAIN_COMMON_FLAGS
- --cpu cortex-m4
- --fpu VFPv4
- )
-
- if (NOT DEFINED FREERTOS_PORT)
- set(FREERTOS_PORT IAR_ARM_CM4F CACHE INTERNAL "")
- endif ()
-
-endif ()