summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2025-04-24 10:46:14 +0700
committerGitHub <[email protected]>2025-04-24 10:46:14 +0700
commit1afe8a00395d687ee492c759e44c13fbaa5f4b2b (patch)
treece0c00dff2c5038cdcded212d8f36c5491dd3642 /examples
parent8b3c558881b8d79f442b578108660c7b76e59bc8 (diff)
parent736b1d50bc4082e27b3dce0fcb95a90e202cd4d3 (diff)
Merge pull request #3095 from fenugrec/ex_cmake_CM0
examples cmake: fix gcc flag -mcpu=cortex=m0
Diffstat (limited to 'examples')
-rw-r--r--examples/build_system/cmake/cpu/cortex-m0.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/build_system/cmake/cpu/cortex-m0.cmake b/examples/build_system/cmake/cpu/cortex-m0.cmake
index 62019d90d..f837c7eb8 100644
--- a/examples/build_system/cmake/cpu/cortex-m0.cmake
+++ b/examples/build_system/cmake/cpu/cortex-m0.cmake
@@ -1,7 +1,7 @@
if (TOOLCHAIN STREQUAL "gcc")
set(TOOLCHAIN_COMMON_FLAGS
-mthumb
- -mcpu=cortex-m0plus
+ -mcpu=cortex-m0
-mfloat-abi=soft
)
set(FREERTOS_PORT GCC_ARM_CM0 CACHE INTERNAL "")