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

Windows support (possibly via Cygwin or WSL)? #11

Open
soccermitchy opened this issue Jan 5, 2019 · 5 comments
Open

Windows support (possibly via Cygwin or WSL)? #11

soccermitchy opened this issue Jan 5, 2019 · 5 comments

Comments

@soccermitchy
Copy link

Is there a possibility of running po on Windows using something like Cygwin or Windows Subsystem for Linux? I'd be willing to assist in porting to one of those, if need be (although it would probably be WSL if I do it).

@nrobinson2000
Copy link
Owner

I tried using po with WSL a few months ago and it worked to some degree if I remember correctly. Firmware could be compiled but devices were not accessible from serial / dfu so firmware could not be flashed. I'm not a regular WSL user but I think po could be ported to run better in WSL.

Have you had any luck monitoring a serial port from within WSL or using dfu-util from within WSL?

Have you tried to install po inside of WSL? It should behave like a normal Linux system during the installation.


I've been contemplating whether to port po from bash to python since it would make cross-platform development easier but it would take more time than I currently have right now. Adding support for Windows/Cygwin would be challenging but also very rewarding.

@soccermitchy
Copy link
Author

soccermitchy commented Jan 5, 2019 via email

@hpssjellis
Copy link

@nrobinson2000 Did you get po-util compiling on WSL? I use OTA to connect to my photon so DFU or serial not working is not an issue. . I just had compile issues.

@nrobinson2000
Copy link
Owner

nrobinson2000 commented Jan 10, 2019

I think I had to do something with binfmt.

This might help:

microsoft/WSL#2468 (comment)

@nrobinson2000
Copy link
Owner

Hello everyone. At long last, I have made neopo, a replacement for po-util written in Python. It works well on Windows through Cygwin and even better on Linux, macOS, and Raspberry Pi.

Here is the repository:
https://github.com/nrobinson2000/neopo

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

3 participants