Files
LonganTFReader/third_party/tinyusb/examples/build_system/cmake/cpu/rx610.cmake
T
2026-10-11 21:48:59 +08:00

13 lines
301 B
CMake

if (NOT DEFINED TOOLCHAIN OR TOOLCHAIN STREQUAL "gcc")
set(TOOLCHAIN_COMMON_FLAGS
-mcpu=rx610
-misa=v1
-mlittle-endian-data
-fshort-enums
)
set(FREERTOS_PORT GCC_RX600 CACHE INTERNAL "")
else ()
message(FATAL_ERROR "Toolchain ${TOOLCHAIN} is not supported for RX")
endif ()