I have configured my WSL/Linux environment for building upython.
I can build the firmware successfully. Great job to upython dev team for supporting WSL env!
Currently I still need to go back to windows env to flash the firmware.
I am having issues with the /dev/ttyS3 which is supposed to be mapped to COM3 (the usb port to the device).
I think I have configured the right group and chmod for this tty, but still getting the following error.
If anyone has luck getting this to work. please let me know.
Thanks
The error follows:
--
(build-venv) hikari@glorious:/mnt/c/Users/purel/source/repos/espressif/esp-idf$ ./components/esptool_py/esptool/esptool.py --port /dev/ttyS3 erase_flash
esptool.py v2.8
Serial port /dev/ttyS3
Traceback (most recent call last):
File "/home/hikari/.espressif/python_env/idf4.0_py3.8_env/lib/python3.8/site-packages/serial/serialposix.py", line 323, in _reconfigure_port
orig_attr = termios.tcgetattr(self.fd)
termios.error: (5, 'Input/output error')