-
I am trying to compile the latest commit of Micropython (1.23.0 preview) with IDF 5.2 and Cygwin on Windows 10, every moving part seems to work with the exception of the
I found the file |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Similar problems have occurred a number of times, but I don't think there has been a fix. See for instance #7012. |
Beta Was this translation helpful? Give feedback.
-
To be honest wsl2 has been such a success I don't know anyone using cygwin at all anymore, WSL is just so much more stable and easy to work with. You can also go over step further and use docker (in WSL) to perform all the compilation inside the official Espressif docker containers to avoid having to install or configure a toolchain. It also makes it easy to switch between toolchain versions. For example, when run from a fresh clone micropython folder, this will compile and flash an esp board:
The only things needed beforehand from windows is wsl2, docker desktop installed and the USB device attached to WSL (https://gitlab.com/alelec/wsl-usb-gui/-/releases) |
Beta Was this translation helpful? Give feedback.
-
Also if not WSL I'd use MSYS2 over Cygwin, I seem to have less problems with it. |
Beta Was this translation helpful? Give feedback.
Also if not WSL I'd use MSYS2 over Cygwin, I seem to have less problems with it.