ci/platforms/linux.sh: bump risc-v toolchain

Bump xPack GNU RISC-V Embedded GCC v14.2.0-3
This commit is contained in:
simbit18
2025-07-15 15:02:49 +02:00
committed by Xiang Xiao
parent e66fbcf708
commit 665d608e68
+3 -3
View File
@@ -163,12 +163,12 @@ riscv_gcc_toolchain() {
if [ ! -f "${NUTTXTOOLS}/riscv-none-elf-gcc/bin/riscv-none-elf-gcc" ]; then
local basefile
basefile=xpack-riscv-none-elf-gcc-13.2.0-2-linux-x64
basefile=xpack-riscv-none-elf-gcc-14.2.0-3-linux-x64
cd "${NUTTXTOOLS}"
# Download the latest RISCV GCC toolchain prebuilt by xPack
wget --quiet https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/download/v13.2.0-2/${basefile}.tar.gz
wget --quiet https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/download/v14.2.0-3/${basefile}.tar.gz
tar zxf ${basefile}.tar.gz
mv xpack-riscv-none-elf-gcc-13.2.0-2 riscv-none-elf-gcc
mv xpack-riscv-none-elf-gcc-14.2.0-3 riscv-none-elf-gcc
rm ${basefile}.tar.gz
fi
command riscv-none-elf-gcc --version