1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #18407 from gschorcht/cpu/esp32/add_esp32s3_toolchain

dist/tools/esptools: add ESP32-S3 toolchain support to {install,export}.sh
This commit is contained in:
benpicco 2022-08-07 22:25:00 +02:00 committed by GitHub
commit 8f8b2d9ad0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 4 deletions

View File

@ -27,6 +27,9 @@ export_arch()
esp32c3)
TARGET_ARCH="riscv32-esp-elf"
;;
esp32s3)
TARGET_ARCH="xtensa-esp32s3-elf"
;;
*)
echo "Unknown architecture $1"
exit 1
@ -74,9 +77,9 @@ export_qemu()
if [ -z $1 ]; then
echo "Usage: export.sh <tool>"
echo "tool = all | esp32 | esp32c3 | openocd | qemu"
echo "tool = all | esp32 | esp32c3 | esp32s3 | openocd | qemu"
elif [ "$1" = "all" ]; then
ARCH_ALL="esp32 esp32c3"
ARCH_ALL="esp32 esp32c3 esp32s3"
for arch in ${ARCH_ALL}; do
export_arch $arch
done

View File

@ -85,6 +85,9 @@ install_arch()
esp32c3)
TARGET_ARCH="riscv32-esp-elf"
;;
esp32s3)
TARGET_ARCH="xtensa-esp32s3-elf"
;;
*)
echo "error: Unknown architecture $1"
exit 1
@ -155,10 +158,10 @@ install_qemu()
if [ -z $1 ]; then
echo "Usage: install.sh <tool>"
echo "tool = all | esp32 | esp32c3 | openocd | qemu"
echo "tool = all | esp32 | esp32c3 | esp32s3 | openocd | qemu"
exit 1
elif [ "$1" = "all" ]; then
ARCH_ALL="esp32 esp32c3"
ARCH_ALL="esp32 esp32c3 esp32s3"
for arch in ${ARCH_ALL}; do
install_arch $arch
done