Skip to content

Commit 1afe8a0

Browse files
authored
Merge pull request hathach#3095 from fenugrec/ex_cmake_CM0
examples cmake: fix gcc flag -mcpu=cortex=m0
2 parents 8b3c558 + 736b1d5 commit 1afe8a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/build_system/cmake/cpu/cortex-m0.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
if (TOOLCHAIN STREQUAL "gcc")
22
set(TOOLCHAIN_COMMON_FLAGS
33
-mthumb
4-
-mcpu=cortex-m0plus
4+
-mcpu=cortex-m0
55
-mfloat-abi=soft
66
)
77
set(FREERTOS_PORT GCC_ARM_CM0 CACHE INTERNAL "")

0 commit comments

Comments
 (0)