kugoo-s3-bluepill/extra/arm-gcc-toolchain.cmake

14 lines
446 B
CMake
Raw Normal View History

2021-06-28 21:07:46 +03:00
set(CMAKE_SYSTEM_NAME Generic)
# undefined reference to `_exit' fix on compiler test
set(CMAKE_EXE_LINKER_FLAGS_INIT "--specs=nosys.specs")
set(CMAKE_C_COMPILER arm-none-eabi-gcc)
set(CMAKE_CXX_COMPILER arm-none-eabi-g++)
set(CMAKE_ASM_COMPILER arm-none-eabi-gcc)
set(CMAKE_DEBUGGER arm-none-eabi-gdb)
set(CMAKE_OBJCOPY arm-none-eabi-objcopy)
set(CMAKE_OBJDUMP arm-none-eabi-objdump)
set(CMAKE_SIZE arm-none-eabi-size)