Skip to content

Commit 736b1d5

Browse files
committed
examples cmake: fix gcc flag -mcpu=cortex-m0
1 parent 8b3c558 commit 736b1d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
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)