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-S3
This commit is contained in:
parent
3f1ac8a6b3
commit
c2b62249fb
7
dist/tools/esptools/export.sh
vendored
7
dist/tools/esptools/export.sh
vendored
@ -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
|
||||
|
7
dist/tools/esptools/install.sh
vendored
7
dist/tools/esptools/install.sh
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user