run in windows
Opened this issue · 1 comments
Running script in windows does not work.
Problems with python libraries.
No requirements description
That is unfortunately true. termios and tty needs to be replaced, few others too. Those are simply not available under Windows Python, yet.
But I got it running under MSYS2 with installed Python and libUSB inside MSYS2.
Drawback: MSYS2 with Python and libs will steal you aro 1GB of your drive C:
Typically If Windows recognise at COM8 it corrlates to /dev/ttyS7
So starting the Script inside MSYS2 with
Python buck50.py /dev/ttyS7
will connect.
If not, just comment out in buck50.py the two lines where the usb_fd is tested to be set as a raw interface in function usb_connect.
It works brilliant with this temporary workaround until someone accepts the challenge and port this script to Windows Python ;-) (maybe with dual use functionallity)
Best regards
Marco