Support *BSD
libusbsio does not include a binary for *BSD systems so spsdk cannot be used on these systems. Please consider adding *BSD support.
A developer using our software was able to manually patch libusbsio to compile on FreeBSD. He has the following suggestions/questions: Can you
- put their sources to github or some other repository it is possible to provide patches for?
- clarify if we really need
ex_infoinHIDAPI_ENUM_Tfor LPC55 (this seems to be unused by the Python part and SPSDK)- Do we really need
timeout_msinHIDAPI_DeviceWriteand if yes, maybe thehid_write_timeoutshould have been moved inside of that function (and probably rewritten, since it looks pretty strange to me).
Hello Robin, libusbsio is its own project and we are simply using it as a dependency.
We will forward this issue to the project maintainer. However, we can't guarantee that it will be resolved.
Thank you @mstarecek - OP here. Yes, the main problem is there is no place to discuss eventual changes to libusbsio. I think it could easily support upstream, unchanged https://github.com/signal11/hidapi. If I read the code correctly, modifications to hidapi are not needed for the SPSDK at all. But I understand this library needs to support probably more than we can see here. Maybe this project could be brought over to GitHub or somewhere else in the open?