libgpio

Kevin Lo kevlo at FreeBSD.org
Fri Nov 7 14:38:29 UTC 2014


On Fri, Nov 07, 2014 at 03:24:16AM -0800, Stanislav Sedov wrote:
> 
> 
> > On Nov 6, 2014, at 10:41 PM, Rui Paulo <rpaulo at me.com> wrote:
> > 
> > Hi,
> > 
> > Some time ago, I wrote a gpio library as a way to interact with the kernel gpio driver in a more sensible way (hiding the details of opening a /dev file, handling all the ioctls, etc.).
> > 
> > Here's the project code:
> > 
> > 	https://bitbucket.org/rpaulo/libgpio/src
> > 
> > Here's the header file:
> > 
> > 	https://bitbucket.org/rpaulo/libgpio/src/1dfe793d0b0cd6caff2e196cf667a5c06bbade8d/libgpio.h?at=default
> > 
> > It looks like some people started using the library and I was wondering if it would be a good candidate for the base system.  I would rewrite gpioctl to use it and I'm open to changing the library API.
> > 
> > Any comments?
> 
> In my opinion it is an excellent idea to import the library into
> the base system.  It is really useful and will facilitate 3rd
> party applications development.

Indeed.  I've used libgpio for one of my projects.

> I’d say go for it.

+1 :-)

> --
> ST4096-RIPE

	Kevin


More information about the freebsd-embedded mailing list