summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorfenugrec <[email protected]>2025-04-23 16:01:24 -0400
committerfenugrec <[email protected]>2025-04-23 16:04:42 -0400
commit736b1d50bc4082e27b3dce0fcb95a90e202cd4d3 (patch)
treece0c00dff2c5038cdcded212d8f36c5491dd3642 /examples
parent8b3c558881b8d79f442b578108660c7b76e59bc8 (diff)
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 "")