buck50 icon indicating copy to clipboard operation
buck50 copied to clipboard

run in windows

Open devprodest opened this issue 3 years ago • 1 comments

Running script in windows does not work. Problems with python libraries. No requirements description

devprodest avatar Apr 10 '23 11:04 devprodest

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

jaessy77 avatar May 14 '24 17:05 jaessy77