mirror of
https://github.com/hathach/tinyusb.git
synced 2025-05-07 22:25:49 +08:00
examples cmake: fix gcc flag -mcpu=cortex-m0
This commit is contained in:
parent
8b3c558881
commit
736b1d50bc
@ -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 "")
|
||||
|
Loading…
x
Reference in New Issue
Block a user