tools/ci/cibuild.sh: Update the downloaded ESP Xtensa toolchain.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
Abdelatif Guettouche 2021-09-24 18:41:01 +02:00 committed by Gustavo Henrique Nihei
parent c23986ec63
commit 6526966987

View File

@ -211,15 +211,15 @@ function xtensa-esp32-gcc-toolchain {
cd "${prebuilt}" cd "${prebuilt}"
case ${os} in case ${os} in
Darwin) Darwin)
wget --quiet https://dl.espressif.com/dl/xtensa-esp32-elf-gcc8_2_0-esp-2019r2-macos.tar.gz wget --quiet https://dl.espressif.com/dl/xtensa-esp32-elf-gcc8_4_0-esp-2021r1-macos.tar.gz
tar xzf xtensa-esp32-elf-gcc8_2_0-esp-2019r2-macos.tar.gz tar xzf xtensa-esp32-elf-gcc8_4_0-esp-2021r1-macos.tar.gz
rm xtensa-esp32-elf-gcc8_2_0-esp-2019r2-macos.tar.gz rm xtensa-esp32-elf-gcc8_4_0-esp-2021r1-macos.tar.gz
;; ;;
Linux) Linux)
wget --quiet https://dl.espressif.com/dl/xtensa-esp32-elf-gcc8_2_0-esp32-2019r1-rc2-linux-amd64.tar.xz wget --quiet https://dl.espressif.com/dl/xtensa-esp32-elf-gcc8_4_0-esp32-2021r1-linux-amd64.tar.xz
xz -d xtensa-esp32-elf-gcc8_2_0-esp32-2019r1-rc2-linux-amd64.tar.xz xz -d xtensa-esp32-elf-gcc8_4_0-esp32-2021r1-linux-amd64.tar.xz
tar xf xtensa-esp32-elf-gcc8_2_0-esp32-2019r1-rc2-linux-amd64.tar tar xf xtensa-esp32-elf-gcc8_4_0-esp32-2021r1-linux-amd64.tar
rm xtensa-esp32-elf-gcc8_2_0-esp32-2019r1-rc2-linux-amd64.tar rm xtensa-esp32-elf-gcc8_4_0-esp32-2021r1-linux-amd64.tar
;; ;;
esac esac
fi fi