Could not find the package 'espressif/toolchain-riscv32-esp @ 8.4.0+2021r2-patch5' on Windows 11 ARM64

Hello,

I’m encountering an issue when trying to set up my development environment for an ESP32-S3 board using PlatformIO on Windows 11 ARM64. When I attempt to build the project, PlatformIO is unable to find the required toolchain package for my system architecture.

Error Message:

Tool Manager: Installing espressif/toolchain-riscv32-esp @ 8.4.0+2021r2-patch5
UnknownPackageError: Could not find the package with ‘espressif/toolchain-riscv32-esp @ 8.4.0+2021r2-patch5’ requirements for your system ‘windows_arm64’

PlatformIO Configuration (platformio.ini):

[env:esp32-s3-devkitc-1]
platform = espressif32
board = esp32-s3-devkitc-1
board_build.flash_mode = dio
framework = arduino
monitor_speed = 115200
build_flags =
-DARDUINO_USB_MODE=1
-DARDUINO_USB_CDC_ON_BOOT=1
lib_deps =
SPI
otadrive/OTAdrive@^1.1.29
vshymanskyy/TinyGSM@^0.11.7
knolleary/PubSubClient@^2.8
4-20ma/ModbusMaster@^2.0.1
adafruit/RTClib@^2.1.3
bblanchon/ArduinoJson@^7.0.3
plerup/EspSoftwareSerial@^8.2.0

System Information:

  • OS: Windows 11 ARM64
  • PlatformIO Core: Latest version (as of 19/09/2024)
  • Espressif Platform: Latest version (as of 19/09/2024)

Steps to Reproduce:

  1. Set up a project for ESP32-S3 using PlatformIO on a Windows 11 ARM64 machine.
  2. Attempt to build the project.
  3. The error appears when PlatformIO tries to install the toolchain.

Troubleshooting Attempts:

  • I verified that I’m using the latest versions of PlatformIO and all relevant packages.
  • I explored using x86 emulation on Windows 11 ARM64, but the package specifically mentions the architecture issue.
  • I also attempted to manually install a compatible toolchain but did not find one readily available for ARM64.

Is there a workaround or fix for using this package on Windows 11 ARM64, or is ARM64 support for this toolchain still in development? Any guidance would be appreciated.

Thank you for your help!