mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
misc: Update to Arm GNU Toolchain 13.2.rel1.
This commit is contained in:
parent
079cd3092a
commit
801cb29d6c
2
.github/workflows/firmware.yml
vendored
2
.github/workflows/firmware.yml
vendored
@ -44,7 +44,7 @@ jobs:
|
|||||||
id: cache
|
id: cache
|
||||||
with:
|
with:
|
||||||
path: ~/cache/gcc
|
path: ~/cache/gcc
|
||||||
key: 'gcc-arm-none-eabi-10-2020-q4-major'
|
key: 'arm-gnu-toolchain-13.2.rel1'
|
||||||
|
|
||||||
- name: '🛠 Install toolchain '
|
- name: '🛠 Install toolchain '
|
||||||
if: steps.cache.outputs.cache-hit != 'true'
|
if: steps.cache.outputs.cache-hit != 'true'
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
Subproject commit 64f6f22bb2b6e6a1345ce94d5e6ce091f1858df3
|
Subproject commit 6e252c7edec9393a7b2f07a35997e19690a5d173
|
||||||
@ -2,9 +2,8 @@
|
|||||||
|
|
||||||
########################################################################################
|
########################################################################################
|
||||||
# Install ARM GCC.
|
# Install ARM GCC.
|
||||||
TOOLCHAIN="gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2"
|
|
||||||
TOOLCHAIN_PATH=${HOME}/cache/gcc
|
TOOLCHAIN_PATH=${HOME}/cache/gcc
|
||||||
TOOLCHAIN_URL="https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-rm/10-2020q4/${TOOLCHAIN}"
|
TOOLCHAIN_URL="https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-x86_64-arm-none-eabi.tar.xz"
|
||||||
|
|
||||||
ci_install_arm_gcc_apt() {
|
ci_install_arm_gcc_apt() {
|
||||||
sudo apt-get install gcc-arm-none-eabi libnewlib-arm-none-eabi
|
sudo apt-get install gcc-arm-none-eabi libnewlib-arm-none-eabi
|
||||||
@ -13,7 +12,7 @@ ci_install_arm_gcc_apt() {
|
|||||||
|
|
||||||
ci_install_arm_gcc() {
|
ci_install_arm_gcc() {
|
||||||
mkdir -p ${TOOLCHAIN_PATH}
|
mkdir -p ${TOOLCHAIN_PATH}
|
||||||
wget --no-check-certificate -O - ${TOOLCHAIN_URL} | tar --strip-components=1 -jx -C ${TOOLCHAIN_PATH}
|
wget --no-check-certificate -O - ${TOOLCHAIN_URL} | tar --strip-components=1 -Jx -C ${TOOLCHAIN_PATH}
|
||||||
export PATH=${TOOLCHAIN_PATH}/bin:${PATH}
|
export PATH=${TOOLCHAIN_PATH}/bin:${PATH}
|
||||||
arm-none-eabi-gcc --version
|
arm-none-eabi-gcc --version
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user