summaryrefslogtreecommitdiff
path: root/tools/cmake/cpu/cortex-m4.cmake
diff options
context:
space:
mode:
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 ()