Created
June 14, 2020 00:27
-
-
Save nhtranngoc/aacbf3f3872134e1753b54194bfcfd63 to your computer and use it in GitHub Desktop.
Yart - Cross compiling arm toolchain file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set(CMAKE_TRY_COMPILE_TARGET_TYPE "STATIC_LIBRARY") | |
set(CMAKE_SYSTEM_NAME Generic) | |
set(CMAKE_SYSTEM_PROCESSOR arm) | |
set(CMAKE_CROSSCOMPILING TRUE) | |
set(CMAKE_C_COMPILER arm-none-eabi-gcc) | |
set(CMAKE_CXX_COMPILER arm-none-eabi-g++) | |
set(OBJCOPY arm-none-eabi-objcopy) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment