-
Notifications
You must be signed in to change notification settings - Fork 16
espmonitor can't work under WSL #47
Comments
Can you try again, and pass |
It seems to be the problem caused by WSL1 not supporting TIOCEXCL. Both esptool.py and minicom will not use TIOCEXCL, so they can work normally under WSL1. Is it necessary to use TIOCEXCL for rust's serial library? If it can be skipped, espmonitor and espflash will work under WSL1.
|
I believe the |
It should really be an issue to |
Sure thing, I believe it's https://github.com/dcuddeback/serial-rs Feel free to leave this issue open for others to find, and so we can remember to follow up if/when things get fixed in the serial library. |
Thanks, I have submitted dcuddeback/serial-rs#68 to serial-rs. |
Probably better to leave it open. |
Under WSL1, the serial port COMX of the host can be accessed through /dev/ttySX. For example access COM11 via /dev/ttyS11. This mechanism works fine in esptool.py of esp-idf, but espmonitor can't work.
espmonitor /dev/ttyS10
error log:strace espmonitor /dev/ttyS10
strace log:The text was updated successfully, but these errors were encountered: