Forum > Embedded
Setting up Xtensa-FreeRTOS for ESP8266
ccrause:
--- Quote from: krolikbest on June 12, 2023, 03:07:15 pm ---Thank you for info. According to fpcupdeluxe I see there options to check for xtensa and freertos, so I understand that despite I'm able to check them for installation I would not be able to compile program writen for xtensa (to put it another way-it is not as simply as for example, writing for Raspberry Pi under Windows), right ?
--- End quote ---
From fpcupdeluxe issue 586:
--- Quote ---It is because there isn't yet a Windows snapshot, see list of available platform snapshots here: https://github.com/michael-ring/espsdk4fpc/releases/tag/v1.1.0-4
One can package the xtensa bintools and re-use the compiled libraries, but automatically sorting out the python dependencies to run the python tools such as esptool is a bit tricky.
--- End quote ---
The problem is that there is no prepackaged tools, libraries or virtual python environment for Windows yet. It is possible to provide the xtensa bintools and SDK libraries, but without the SDK python environment the user wil not be able to link or upload user code (at least not without installing the whole SDK separately).
krolikbest:
thanks for comprehensive info.
PascalDragon:
If you have Windows 10 or newer you can use WSL and setup the ESP SDK there just as if you'd do it in Linux. And with an up to date Windows you can also forward USB devices to a WSL 2 instance, so that you can flash from Windows as well.
krolikbest:
Nice hint. So far I've used Ubuntu under VMware, knowning absolutly nothing about WSL and it seems that the WSL is far better technology.
Navigation
[0] Message Index
[*] Previous page