3 ms·
I was using WSL to do esp8266 development so I could use linux tools. The official esp8266 windows toolchain is based on cygwin. If I'm using something that n
by snarfy 6y ago
I was using WSL to do esp8266 development so I could use linux tools. The official esp8266 windows toolchain is based on cygwin. If I'm using something that needs a unix environment anyway, why use cygwin when you have WSL?
I upgraded to WSL2 because well 2 is bigger than 1 so it must be better. But no, nothing worked. Serial ports are not supported in WSL2.
- Scene_Cast2 6y agoI literally spent the last couple of days getting ESP32 to work under WSL. Was not painless. You can have WSL1 and WSL2 side by side IIRC. And there are scripts out there to pipe serial into WSL2.
- sz4kerto 6y agohttp://matevarga.github.io/esp32/m5stack/esp-idf/wsl2/2020/05/31/flashing-esp32-under-wsl2.html http://matevarga.github.io/esp32/m5stack/esp-idf/wsl2/2020/0... Here's how you can flash ESP devices under WSL2.
- yjftsjthsd-h 6y ago> why use cygwin when you have WSL? Well. Has cygwin ever corrupted get repos?
- shawnz 6y agoNo, but WSL1 (which they are referring to in that quote) also has never done that.
- Koshkin 6y agoWhy use WSL if you have Cygwin?