Hello all, just wanted to announce the release of a Rust relative to the prussdrv C library, available at: https://github.com/sbarral/prusst (see also the API docs: https://sbarral.github.io/prusst-doc/prusst/)
This initially started as a modest effort to wrap prussdrv, but the process made me realize how difficult it is to infer what prussdrv is doing under the hood without analysing the source code (is this 'event' argument a system event or an event out? Does this function ever actually return -1 and if yes when? What exactly is prussdrv_pru_clear_event() doing?). So I ended up contemplating the general design of a more explicit UIO interface that would exploit the Rust type system to better codify the work-flow. The result is a native Rust library that does not actually link to prussdrv but offers a very similar functionality. I have strived to produce a clean API and implementation, but keep in mind that this is a 0.1 release so I am definitely open to criticism from the PRU experts here. Even if you are not a Rust aficionado, suggestions for improvements or new functionality are very appreciated. Serge -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/bfef07e8-af2e-4547-a943-d33e4397234f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
