-
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added aarch64 and arm toolchain files. Provide build tasks for vscode
- Loading branch information
Showing
3 changed files
with
31 additions
and
21 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
set(CMAKE_SYSTEM_NAME Generic) | ||
set(CMAKE_SYSTEM_PROCESSOR aarch64) | ||
|
||
set(CROSS_COMPILE aarch64-linux) | ||
|
||
set(CMAKE_C_COMPILER ${CROSS_COMPILE}-gcc) | ||
set(CMAKE_CXX_COMPILER ${CROSS_COMPILE}-g++) | ||
set(CMAKE_AR ${CROSS_COMPILE}-ar) | ||
set(CMAKE_RANLIB ${CROSS_COMPILE}-ranlib) | ||
set(CMAKE_OBJCOPY ${CROSS_COMPILE}-objcopy) | ||
set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY) |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
set(CMAKE_SYSTEM_NAME Generic) | ||
set(CMAKE_SYSTEM_PROCESSOR arm) | ||
|
||
set(CROSS_COMPILE arm-none-eabi) | ||
|
||
set(CMAKE_C_COMPILER ${CROSS_COMPILE}-gcc) | ||
set(CMAKE_CXX_COMPILER ${CROSS_COMPILE}-g++) | ||
set(CMAKE_AR ${CROSS_COMPILE}-ar) | ||
set(CMAKE_RANLIB ${CROSS_COMPILE}-ranlib) | ||
set(CMAKE_OBJCOPY ${CROSS_COMPILE}-objcopy) | ||
set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY) |