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

dist/tools: add toolchain installtion for ESP32-S2

This commit is contained in:
Gunar Schorcht 2022-06-10 07:46:46 +02:00
parent 0d555de986
commit 94a1792c32
2 changed files with 10 additions and 4 deletions

View File

@ -27,6 +27,9 @@ export_arch()
esp32c3)
TARGET_ARCH="riscv32-esp-elf"
;;
esp32s2)
TARGET_ARCH="xtensa-esp32s2-elf"
;;
esp32s3)
TARGET_ARCH="xtensa-esp32s3-elf"
;;
@ -77,9 +80,9 @@ export_qemu()
if [ -z $1 ]; then
echo "Usage: export.sh <tool>"
echo "tool = all | esp32 | esp32c3 | esp32s3 | openocd | qemu"
echo "tool = all | esp32 | esp32c3 | esp32s2 | esp32s3 | openocd | qemu"
elif [ "$1" = "all" ]; then
ARCH_ALL="esp32 esp32c3 esp32s3"
ARCH_ALL="esp32 esp32c3 esp32s2 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"
;;
esp32s2)
TARGET_ARCH="xtensa-esp32s2-elf"
;;
esp32s3)
TARGET_ARCH="xtensa-esp32s3-elf"
;;
@ -158,10 +161,10 @@ install_qemu()
if [ -z $1 ]; then
echo "Usage: install.sh <tool>"
echo "tool = all | esp32 | esp32c3 | esp32s3 | openocd | qemu"
echo "tool = all | esp32 | esp32c3 | esp32s2 | esp32s3 | openocd | qemu"
exit 1
elif [ "$1" = "all" ]; then
ARCH_ALL="esp32 esp32c3 esp32s3"
ARCH_ALL="esp32 esp32c3 esp32s2 esp32s3"
for arch in ${ARCH_ALL}; do
install_arch $arch
done