You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2025/07/18 14:36:37 UTC
(nuttx) 03/05: ci/platforms/msys2.sh: bump Xtensa ESP32|S2|S3 toolchain
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 47c6ed0b23d1df787024db2afc7902c87bc4533b
Author: simbit18 <10...@users.noreply.github.com>
AuthorDate: Wed Jul 16 12:39:23 2025 +0200
ci/platforms/msys2.sh: bump Xtensa ESP32|S2|S3 toolchain
Bump Xtensa esp-14.2.0_20241119
---
tools/ci/platforms/msys2.sh | 44 ++++++--------------------------------------
1 file changed, 6 insertions(+), 38 deletions(-)
diff --git a/tools/ci/platforms/msys2.sh b/tools/ci/platforms/msys2.sh
index f37ca831b5..ce8463e84f 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/