Hi all

A while ago I made a small pure-python uio library with some examples on 
how to use uio_pdrv_genirq to directly use various peripherals on the BBB. 
More recently I built a PRU-ICSS library using uio_pruss on top of it, 
making it a pure-python alternative to prussdrv.

Although I personally think pasm is still the better choice for a lot of 
projects, there are people who prefer using clpru. For that reason, I've 
just added a simple ELF loader to the icss module, along with an example.

I've only tested this on beaglebones, but it should be easy enough to adapt 
the examples to the bbx15 once you've made the necessary changes to the 
device tree to use uio_pruss instead of remoteproc-pru. Since the x15 has 
two pruss instances, they need to be differentiated somehow. My example 
udev rules file already supports this if you add a "pruss-instance" 
property to each subsystem to give it a name (which then shows up in the 
symlinks it creates).

Here ya go: https://github.com/mvduin/py-uio/#uio_pruss

Documentation is still scarce unfortunately. Wiki contributions and patches 
for docstrings are welcome of course.

Matthijs

-- 
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/83000188-a500-445f-b1f0-4ea7336da656%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to