Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run in windows #16

Open
devprodest opened this issue Apr 10, 2023 · 1 comment
Open

run in windows #16

devprodest opened this issue Apr 10, 2023 · 1 comment

Comments

@devprodest
Copy link

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

@jaessy77
Copy link

jaessy77 commented May 14, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants