trabucayre / openFPGALoader

Universal utility for programming FPGA
https://trabucayre.github.io/openFPGALoader/
Apache License 2.0
1.16k stars 249 forks source link

Multiplatform support #24

Closed kost closed 4 years ago

kost commented 4 years ago

openFPGA loader looks promising, but I see it is targeted to Linux with glibc only. Do you have any plans to port it to something else?

Current problems I see are:

trabucayre commented 4 years ago

For argp I have answered in #23. It's currently linux only because I don't have windows or mac for trying (if someone could test/fix I'm open) but yes it's possible to have udev (and consequently -d /dev/ttyXXX) optional to avoid dependency to this library.

trabucayre commented 4 years ago

I have pushed option to disable udev support and corresponding cli option. Does that seem correct to you? Thanks for your remarks

trabucayre commented 4 years ago

Thank

kost commented 4 years ago

Thanks on modifications!

Pull request which implements Mac OS X support: https://github.com/trabucayre/openFPGALoader/pull/25

I guess you have access to Windows or Mingw, so that is not needed.

trabucayre commented 4 years ago

I've just applied your PR. Thank you again! In fact, I have no windows at all and no one around me either.

trabucayre commented 4 years ago

If you think this issue is resolved, can I close it? Thanks

kost commented 4 years ago

Thanks! I think you can. Regarding Windows support, you can check how I managed to cross compile fujprog for Windows: https://github.com/kost/fujpro

You don't need to have windows since you can cross compile from linux.