ci/platforms/msys2.sh: bump Xtensa ESP32|S2|S3 toolchain
Bump Xtensa esp-14.2.0_20241119
This commit is contained in:
parent
26c36f243a
commit
47c6ed0b23
1 changed files with 6 additions and 38 deletions
|
|
@ -211,15 +211,15 @@ sparc_gcc_toolchain() {
|
|||
command sparc-gaisler-elf-gcc --version
|
||||
}
|
||||
|
||||
xtensa_esp32_gcc_toolchain() {
|
||||
add_path "${NUTTXTOOLS}"/xtensa-esp32-elf/bin
|
||||
xtensa_esp_gcc_toolchain() {
|
||||
add_path "${NUTTXTOOLS}"/xtensa-esp-elf/bin
|
||||
|
||||
if [ ! -f "${NUTTXTOOLS}/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc" ]; then
|
||||
if [ ! -f "${NUTTXTOOLS}/xtensa-esp-elf/bin/xtensa-esp32-elf-gcc" ]; then
|
||||
local basefile
|
||||
basefile=xtensa-esp32-elf-12.2.0_20230208-x86_64-w64-mingw32
|
||||
basefile=xtensa-esp-elf-14.2.0_20241119-x86_64-w64-mingw32
|
||||
cd "${NUTTXTOOLS}"
|
||||
# Download the latest ESP32 GCC toolchain prebuilt by Espressif
|
||||
curl -O -L -s https://github.com/espressif/crosstool-NG/releases/download/esp-12.2.0_20230208/${basefile}.zip
|
||||
# Download the latest ESP32, ESP32-S2 and ESP32-S3 GCC toolchain prebuilt by Espressif
|
||||
curl -O -L -s https://github.com/espressif/crosstool-NG/releases/download/esp-14.2.0_20241119/${basefile}.zip
|
||||
unzip -qo ${basefile}.zip
|
||||
rm ${basefile}.zip
|
||||
fi
|
||||
|
|
@ -227,38 +227,6 @@ xtensa_esp32_gcc_toolchain() {
|
|||
command xtensa-esp32-elf-gcc --version
|
||||
}
|
||||
|
||||
xtensa_esp32s2_gcc_toolchain() {
|
||||
add_path "${NUTTXTOOLS}"/xtensa-esp32s2-elf/bin
|
||||
|
||||
if [ ! -f "${NUTTXTOOLS}/xtensa-esp32s2-elf/bin/xtensa-esp32s2-elf-gcc" ]; then
|
||||
local basefile
|
||||
basefile=xtensa-esp32s2-elf-12.2.0_20230208-x86_64-w64-mingw32
|
||||
cd "${NUTTXTOOLS}"
|
||||
# Download the latest ESP32 S2 GCC toolchain prebuilt by Espressif
|
||||
curl -O -L -s https://github.com/espressif/crosstool-NG/releases/download/esp-12.2.0_20230208/${basefile}.zip
|
||||
unzip -qo ${basefile}.zip
|
||||
rm ${basefile}.zip
|
||||
fi
|
||||
|
||||
command xtensa-esp32s2-elf-gcc --version
|
||||
}
|
||||
|
||||
xtensa_esp32s3_gcc_toolchain() {
|
||||
add_path "${NUTTXTOOLS}"/xtensa-esp32s3-elf/bin
|
||||
|
||||
if [ ! -f "${NUTTXTOOLS}/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-gcc" ]; then
|
||||
local basefile
|
||||
basefile=xtensa-esp32s3-elf-12.2.0_20230208-x86_64-w64-mingw32
|
||||
cd "${NUTTXTOOLS}"
|
||||
# Download the latest ESP32 S3 GCC toolchain prebuilt by Espressif
|
||||
curl -O -L -s https://github.com/espressif/crosstool-NG/releases/download/esp-12.2.0_20230208/${basefile}.zip
|
||||
unzip -qo ${basefile}.zip
|
||||
rm ${basefile}.zip
|
||||
fi
|
||||
|
||||
command xtensa-esp32s3-elf-gcc --version
|
||||
}
|
||||
|
||||
setup_links() {
|
||||
# Configure ccache
|
||||
mkdir -p "${NUTTXTOOLS}"/ccache/bin/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue