[beagleboard] Re: July 2020 GPIO Best Practices

2020-07-22 Thread dave m.
Thanks for the info!  I tried to build libpruio, but it needed 
FreeBasicCompiler and some other stuff, which was harder to organize than I 
had patience for at the time.  I'll give it another try, and revert to 
Jessie if I can't get things working on Buster.

-- 
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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/ac5d1ead-486a-4c14-aa7a-15096235176fn%40googlegroups.com.


[beagleboard] Re: July 2020 GPIO Best Practices

2020-07-21 Thread TJF
Hi Dave!

Am Montag, 20. Juli 2020 15:30:56 UTC+2 schrieb dave m.:
>
> Is there a FAQ or compendium of current best practices?
>
 
There has been good documentations for Kernel 3.8. But the kernel changed 
and the docs got out of date.

 What about PRU -- I found some stuff about libpruio that looked promising, 
> but it seems to be out of date?  Is libgpiod preferable, if I don't need 
> the extra speed PRU appears to provide?
>

libpruio is not out of date. It builds and runs on each kernel since 3.8. 
And so does the users code compiled against libpruio.

The current BB repos don't contain the libpruio packages. They never 
contained libpruio packages (exept the LKM). So if you don't want to build 
from source, ask RCN or Jason Kridner. (Or switch back to Jessie for a 
comfortable binary installation by the package manager.)

libpruio provides extra execution speed. But the main advantage is the 
steep learning curve. It does all kind of pin-muxing. And if a pin is 
claimed by an other process it shows the process name in the error message. 
And if the user cannot (or temprary will not) resolve the conflict, 
libpruio can override the claim (admin privilegues).

Hardware configuration gets as easy as on the Arduino, but with the power 
of a full featured LINUX system.

Regards

-- 
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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/7eed834a-fe44-4bc3-bb11-b7914d378cb2o%40googlegroups.com.