thanks4opensource / buck50

STM32F103 logic analyzer and more
GNU General Public License v3.0
565 stars 57 forks source link

run in windows #16

Open devprodest opened 1 year ago

devprodest commented 1 year ago

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

jaessy77 commented 3 months ago

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