mirror of
https://github.com/apache/nuttx.git
synced 2026-05-13 02:18:38 +08:00
ci: update ESP32 Xtensa compiler version
Updates ESP32, ESP32S2 and ESP32S3 compiler version to 14.2.0 of 20241119. Signed-off-by: Filipe Cavalcanti <filipe.cavalcanti@espressif.com>
This commit is contained in:
committed by
Xiang Xiao
parent
095a4ecd19
commit
1a5f051fbf
@@ -259,18 +259,10 @@ RUN mkdir -p sparc-gaisler-elf-gcc && \
|
||||
# Build image for tool required by ESP32 builds
|
||||
###############################################################################
|
||||
FROM nuttx-toolchain-base AS nuttx-toolchain-esp32
|
||||
# Download the latest ESP32 GCC toolchain prebuilt by Espressif
|
||||
RUN mkdir -p xtensa-esp32-elf-gcc && \
|
||||
curl -s -L "https://github.com/espressif/crosstool-NG/releases/download/esp-12.2.0_20230208/xtensa-esp32-elf-12.2.0_20230208-x86_64-linux-gnu.tar.xz" \
|
||||
| tar -C xtensa-esp32-elf-gcc --strip-components 1 -xJ
|
||||
|
||||
RUN mkdir -p xtensa-esp32s2-elf-gcc && \
|
||||
curl -s -L "https://github.com/espressif/crosstool-NG/releases/download/esp-12.2.0_20230208/xtensa-esp32s2-elf-12.2.0_20230208-x86_64-linux-gnu.tar.xz" \
|
||||
| tar -C xtensa-esp32s2-elf-gcc --strip-components 1 -xJ
|
||||
|
||||
RUN mkdir -p xtensa-esp32s3-elf-gcc && \
|
||||
curl -s -L "https://github.com/espressif/crosstool-NG/releases/download/esp-12.2.0_20230208/xtensa-esp32s3-elf-12.2.0_20230208-x86_64-linux-gnu.tar.xz" \
|
||||
| tar -C xtensa-esp32s3-elf-gcc --strip-components 1 -xJ
|
||||
# Download the latest ESP32, ESP32-S2 and ESP32-S3 GCC toolchain prebuilt by Espressif
|
||||
RUN mkdir -p xtensa-esp-elf-gcc && \
|
||||
curl -s -L "https://github.com/espressif/crosstool-NG/releases/download/esp-14.2.0_20241119/xtensa-esp-elf-14.2.0_20241119-x86_64-linux-gnu.tar.xz" \
|
||||
| tar -C xtensa-esp-elf-gcc --strip-components 1 -xJ
|
||||
|
||||
RUN echo "ESP Binaries: 2022/01/26"
|
||||
RUN mkdir -p /tools/blobs && cd /tools/blobs \
|
||||
@@ -470,17 +462,9 @@ ENV PATH="/tools/riscv-none-elf-gcc/bin:$PATH"
|
||||
COPY --from=nuttx-toolchain-sparc /tools/sparc-gaisler-elf-gcc/ sparc-gaisler-elf-gcc/
|
||||
ENV PATH="/tools/sparc-gaisler-elf-gcc/bin:$PATH"
|
||||
|
||||
# ESP32 toolchain
|
||||
COPY --from=nuttx-toolchain-esp32 /tools/xtensa-esp32-elf-gcc/ xtensa-esp32-elf-gcc/
|
||||
ENV PATH="/tools/xtensa-esp32-elf-gcc/bin:$PATH"
|
||||
|
||||
# ESP32-S2 toolchain
|
||||
COPY --from=nuttx-toolchain-esp32 /tools/xtensa-esp32s2-elf-gcc/ xtensa-esp32s2-elf-gcc/
|
||||
ENV PATH="/tools/xtensa-esp32s2-elf-gcc/bin:$PATH"
|
||||
|
||||
# ESP32-S3 toolchain
|
||||
COPY --from=nuttx-toolchain-esp32 /tools/xtensa-esp32s3-elf-gcc/ xtensa-esp32s3-elf-gcc/
|
||||
ENV PATH="/tools/xtensa-esp32s3-elf-gcc/bin:$PATH"
|
||||
# ESP32, ESP32-S2, ESP32-S3 toolchain
|
||||
COPY --from=nuttx-toolchain-esp32 /tools/xtensa-esp-elf-gcc/ xtensa-esp-elf-gcc/
|
||||
ENV PATH="/tools/xtensa-esp-elf-gcc/bin:$PATH"
|
||||
|
||||
RUN mkdir -p /tools/blobs/esp-bins
|
||||
COPY --from=nuttx-toolchain-esp32 /tools/blobs/* /tools/blobs/esp-bins/
|
||||
|
||||
Reference in New Issue
Block a user