ci: Update gcc-arm-none-eabi to 10.3-2021.10

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
Huang Qi 2022-03-02 10:17:23 +08:00 committed by Xiang Xiao
parent 9c7eea7949
commit 572f961136
2 changed files with 5 additions and 5 deletions

View File

@ -164,10 +164,10 @@ function arm-gcc-toolchain {
;; ;;
esac esac
cd "${prebuilt}" cd "${prebuilt}"
wget --quiet https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2019q4/RC2.1/gcc-arm-none-eabi-9-2019-q4-major-${flavor}.tar.bz2 wget --quiet https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.10/gcc-arm-none-eabi-10.3-2021.10-${flavor}.tar.bz2
tar jxf gcc-arm-none-eabi-9-2019-q4-major-${flavor}.tar.bz2 tar jxf gcc-arm-none-eabi-10.3-2021.10-${flavor}.tar.bz2
mv gcc-arm-none-eabi-9-2019-q4-major gcc-arm-none-eabi mv gcc-arm-none-eabi-10.3-2021.10 gcc-arm-none-eabi
rm gcc-arm-none-eabi-9-2019-q4-major-${flavor}.tar.bz2 rm gcc-arm-none-eabi-10.3-2021.10-${flavor}.tar.bz2
fi fi
arm-none-eabi-gcc --version arm-none-eabi-gcc --version
} }

View File

@ -84,7 +84,7 @@ WORKDIR /tools
FROM nuttx-toolchain-base AS nuttx-toolchain-arm FROM nuttx-toolchain-base AS nuttx-toolchain-arm
# Download the latest ARM GCC toolchain prebuilt by ARM # Download the latest ARM GCC toolchain prebuilt by ARM
RUN mkdir gcc-arm-none-eabi && \ RUN mkdir gcc-arm-none-eabi && \
curl -s -L "https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2019q4/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2?revision=108bd959-44bd-4619-9c19-26187abf5225&la=en&hash=E788CE92E5DFD64B2A8C246BBA91A249CB8E2D2D" \ curl -s -L "https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.10/gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2" \
| tar -C gcc-arm-none-eabi --strip-components 1 -xj | tar -C gcc-arm-none-eabi --strip-components 1 -xj
############################################################################### ###############################################################################