New windows 11 minstallation on new Apple M3 Macbook Pro
new vscode installatrion, new platform IO installation
installed fine
when i try to build a project that builds find normally on windows (native and as virtual machine parallels on INTEL OSX) and mac
i get
Tool Manager: Installing platformio/toolchain-atmelavr @ ~1.70300.0
UnknownPackageError: Could not find the package with ‘platformio/toolchain-atmelavr @ ~1.70300.0’ requirements for your system 'windows_arm64’t-find-the-package-with-requirements-for-your-system-darwin-arm64
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
regarding:
So, can you download the x86 version of toolchain-atmelavr manually and see if avr-gcc.exe --version runs at all?
yes, if i specify the path to the extracted file.
see below:
PS C:\Mac\Home\Documents\GitHub\Boardwalk> C:\Users\raventalking\.platformio\packages\toolchain-atmelavr\bin\avr-gcc.exe --version
avr-gcc.exe (GCC) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
so i understand that i need to replace the package.json file
AND where do i put the extracted tar referenced above. its in the pacakges dir, and still cant build, tried having it in the platformio dir, same results:
UnknownPackageError: Could not find the package with ‘atmelavr @ 3.70300.220127’ requirements for your system ‘windows_arm64’
The latest PlatformIO core introcued a setting with which you can make PlatformIO think that your system is just a regular “windows_amd64” one. Which should work if everything can be emulated on ARM64.