Merge pull request #3095 from fenugrec/ex_cmake_CM0

examples cmake: fix gcc flag -mcpu=cortex=m0
This commit is contained in:
Ha Thach 2025-04-24 10:46:14 +07:00 committed by GitHub
commit 1afe8a0039
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 "")