diff options
author | Oxore <oxore@protonmail.com> | 2023-03-05 18:28:08 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2023-03-05 20:04:58 +0300 |
commit | dd01e7ed22cea652061f0d12cecf929e04b285e9 (patch) | |
tree | 4ccbb9e22cfcfebd2703bbd2b104fc8207df6a93 /toolchain-gcc-newlib-arm-none-eabi-cm0.cmake | |
parent | 5047decf97ca5439a4176febabe4da0c39d8fb6c (diff) |
Restructure toolchain file
Diffstat (limited to 'toolchain-gcc-newlib-arm-none-eabi-cm0.cmake')
-rw-r--r-- | toolchain-gcc-newlib-arm-none-eabi-cm0.cmake | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/toolchain-gcc-newlib-arm-none-eabi-cm0.cmake b/toolchain-gcc-newlib-arm-none-eabi-cm0.cmake deleted file mode 100644 index 36b0405..0000000 --- a/toolchain-gcc-newlib-arm-none-eabi-cm0.cmake +++ /dev/null @@ -1,15 +0,0 @@ -set(CMAKE_SYSTEM_NAME Generic) -set(CMAKE_SYSTEM_VERSION 1) -set(CMAKE_SYSTEM_PROCESSOR ARM) -set(CMAKE_C_COMPILER_WORKS 1) # mitigate missing `_exit` -set(CMAKE_CXX_COMPILER_WORKS 1) # mitigate missing `_exit` -set(TOOLCHAIN_NAME "gcc-newlib") -set(CMAKE_C_COMPILER "arm-none-eabi-gcc") -set(CMAKE_ASM_COMPILER "arm-none-eabi-gcc") -set(CMAKE_CXX_COMPILER "arm-none-eabi-g++") -set(CMAKE_LINKER "arm-none-eabi-gcc") -set(CMAKE_CXX_LINK_EXECUTABLE "<CMAKE_LINKER> <FLAGS> <CMAKE_C_LINK_FLAGS> <LINK_FLAGS> <OBJECTS> -o <TARGET> <LINK_LIBRARIES>") -set(CMAKE_OBJCOPY "arm-none-eabi-objcopy") -set(CMAKE_OBJSIZE "arm-none-eabi-size") -set(cpu_options -mthumb -mcpu=cortex-m0 -msoft-float) -add_compile_definitions("__FREERTOS__") |