diff --git a/tools/ci/platforms/msys2.sh b/tools/ci/platforms/msys2.sh index f37ca831b50..ce8463e84fe 100755 --- a/tools/ci/platforms/msys2.sh +++ b/tools/ci/platforms/msys2.sh @@ -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/