espressif / crosstool-NG

crosstool-NG with support for Xtensa
Other
117 stars 62 forks source link

Support for Windows ARM64 #61

Open Mlebailly22 opened 1 month ago

Mlebailly22 commented 1 month ago

Hi,

With the expension of Windows ARM computer, Is it possible to have the ARM version of "toolchain-xtensa-esp32s3",

Because I get this error on platformIO on VSC, and I don't know what can be the solution : image

Thanks for your help

Lapshin commented 1 month ago

@Mlebailly22 , thank you for your patience. Currently, we don't have toolchain builds for windows-arm.

Now you can try to use Windows Subsystem for Linux (WSL). There are related links that may help you with:

Jason2866 commented 1 month ago

@Mlebailly22 Doing this suggested changes in your local Platformio should make it possible to compile successfully. https://github.com/platformio/platformio-core/pull/4952

Mlebailly22 commented 1 month ago

Hi @Jason2866 , Yes Actualy, this PR have been create because I also ask the same question on another forum https://community.platformio.org/t/windows-on-arm64-problem-installing-xtensa-toolchain/25497/10?u=melvinlebailly22 But I didn't know that I can do these changes on my local Platformio 😅 I have no idea where I can find the file util.py, and after modifying it, Where I need to add this PLATFORMIO_SYSTEM_TYPE,

Thanks you very much for your help

Jason2866 commented 1 month ago

Adding PLATFORMIO_SYSTEM_TYPE = windows_amd64 in your Windows env should do. Random Google hit for setting an Windows env https://www.computerhope.com/issues/ch000549.htm

Mlebailly22 commented 1 month ago

Changes in your local Platformio

Okay for the Windows env, and what about Finding the util.py file ?

Thanks

Jason2866 commented 1 month ago

There is a thing called Internet search ;-) https://www.lifewire.com/11-free-file-search-tools-1356644