mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-31 05:52:55 +08:00
12 lines
220 B
CMake
12 lines
220 B
CMake
|
if (TOOLCHAIN STREQUAL "gcc")
|
||
|
list(APPEND TOOLCHAIN_COMMON_FLAGS
|
||
|
-mthumb
|
||
|
-mcpu=cortex-m0plus
|
||
|
-mfloat-abi=soft
|
||
|
)
|
||
|
|
||
|
set(FREERTOS_PORT GCC_ARM_CM0 CACHE INTERNAL "")
|
||
|
else ()
|
||
|
# TODO support IAR
|
||
|
endif ()
|