Is libpruio supported in Debian IoT?

32 views
Skip to first unread message

thomasl...@gmail.com

unread,
Dec 28, 2017, 4:42:59 PM12/28/17
to BeagleBoard
debian@beaglebone:~$ uname -a
Linux beaglebone 4.4.91-ti-r133 #1 SMP Tue Oct 10 05:18:08 UTC 2017 armv7l GNU/Linux

debian@beaglebone:~$ sudo apt-get install am335x-pru-package [sudo] password for debian: Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package am335x-pru-package




Robert Nelson

unread,
Dec 28, 2017, 4:53:39 PM12/28/17
to Beagle Board, thomasl...@gmail.com
Use the repo:

https://github.com/beagleboard/am335x_pru_package

that package hasn't been pacakged in a long time..

Regards,

--
Robert Nelson
https://rcn-ee.com/

TJF

unread,
Dec 29, 2017, 1:06:30 PM12/29/17
to BeagleBoard
Hi Thomas!
In order to use libpruio with kernel 4.4 better compile the current source from


In contrast the old libpruio-0.2 won't support pinmuxing on this kernel. For PWM output you'll have to fix a CLCK problem in the device tree. Then you can run the example examples/qep to check the QEP feature.

In order to get python wrappers you can use the fb-doc package (https://github.com/DTJF/fb-doc) and its plugin https://github.com/DTJF/fb-doc/blob/master/src/bas/plugins/py_ctypes.bas.

BR
Reply all
Reply to author
Forward
0 new messages