Is this referencing a version in the future? The latest one is atmelavr@5.1.0.
This is the fundamental issue here. There is no native Windows ARM64 compiled gcc-avr
toolchain in the PIO registry. Look at https://registry.platformio.org/tools/platformio/toolchain-atmelavr/compatibility for that.
Now there are two ways: We either recompile all thousands of missing toolchain binaries and tools natively for Windows ARM64 (yep, not gonna happen-) or we simply declare the Windows AMD64 (x64) version to be compatible with Windows ARM64 and hope that Window’s on ARM’s x86/x64 emulator kicks in and can actually run the binary.
Very similiar discussions have already been had in
- Windows on arm64 problem installing xtensa toolchain - #5 by ivankravets
- Could not find the package 'espressif/toolchain-riscv32-esp @ 8.4.0+2021r2-patch5' on Windows 11 ARM64
- Could Not Find the package for windows-arm64
- On the path to compiling Marlin. Last obstacle
So, can you download the x86 version of toolchain-atmelavr manually and see if avr-gcc.exe --version
runs at all?
CC @ivankravets.