Could Not Find the package for windows-arm64

Hi,

I’m working for a long time on platformIO, but recently I change my computer to a new one with Windows Arm.

Unfortunately Espresif didn’t publish IDF-Tools for Windows ARM,
Downloadable Tools - ESP32 - — ESP-IDF Programming Guide v4.4.3 documentation (espressif.com)

So, I get this Error : Could not find the package with ‘espressif/toolchain-xtensa-esp32s3 @ 8.4.0+2021r2-patch5’ requirements for your system ‘windows_arm64’

But I’m Surprise because my computer know how to emulate anything in Win64,
Does Anyone know how can I force Platform IO to use the win64 version of the package and build with it ?

I found another topic (Windows on arm64 problem installing xtensa toolchain) that seems to be the same Issue as me, but I didn’t arrive to do the same thing as them to resolve my issue

Thank You very much for your time and help

Can you follow the same scheme for the packages you’re missing? See

https://dl.registry.platformio.org/download/espressif/tool/toolchain-xtensa-esp32s3/8.4.0+2021r2-patch5/toolchain-xtensa-esp32s3-windows_amd64-8.4.0+2021r2-patch5.tar.gz

As obtained through

https://api.registry.platformio.org/v3/packages/espressif/tool/toolchain-xtensa-esp32s3

Actually, I try but I block, that what I do for the moment :

I download your file .tar.gz and export it in :
C:\Users\melvi.platformio\packages\toolchain-xtensa

That seems to be the folder were I need to put It (%HOME_PATH%/.platformio/packages/toolchain-xtensa)

Then I open the file package.json and I change
“system”: [
“windows_amd64”,
“windows_arm64”
]

After that Platform didn’t see any change, and on the next part of the other topic it says : However, I noticed that on another machine, each package had a .piopm file alongside the package.json. Copying that over from the other machine to mine makes platformio recognise the package just fine.

And that were I block, I don’t know how I can find this file, even on my machine I don’t find the wrong one that I need to replace.

Thank you for your help

No, it’s toolchain-xtensa-esp32s3. Download the tar.gz manually and extract it to (%HOME_PATH%/.platformio/packages/toolchain-xtensa-esp32s3 and change the package.json in the same way.

Oh yes, of course, sorry about that,

It still didn’t work, do you think is there something to do with a “.piopm” file ?

Thanks

Hi,

I’m sorry to come back, unfortunately I didn’t find any other solution,
Is anyone having a guess?

Thank you very much for your time and help

set env variable and you’re done

@demosglok Better link to the documentation instead to a pull request:

https://docs.platformio.org/en/latest/envvars.html#envvar-PLATFORMIO_SYSTEM_TYPE