From owner-freebsd-embedded@FreeBSD.ORG Fri Nov 7 11:24:34 2014 Return-Path: Delivered-To: embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B9C5375A; Fri, 7 Nov 2014 11:24:34 +0000 (UTC) Received: from mx0.deglitch.com (unknown [IPv6:2001:16d8:ff00:19d::2]) by mx1.freebsd.org (Postfix) with ESMTP id 745CC1D9; Fri, 7 Nov 2014 11:24:34 +0000 (UTC) Received: from [192.168.11.2] (unknown [98.248.95.7]) by mx0.deglitch.com (Postfix) with ESMTPSA id A67708FC27; Fri, 7 Nov 2014 15:24:21 +0400 (MSK) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\)) Subject: Re: libgpio From: Stanislav Sedov In-Reply-To: Date: Fri, 7 Nov 2014 03:24:16 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: <2F8338D7-083E-4C3A-84A4-C197D071CA24@freebsd.org> References: To: Rui Paulo X-Mailer: Apple Mail (2.1990.1) Cc: arm@freebsd.org, embedded@freebsd.org X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Nov 2014 11:24:34 -0000 > On Nov 6, 2014, at 10:41 PM, Rui Paulo wrote: >=20 > Hi, >=20 > 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.). >=20 > Here's the project code: >=20 > https://bitbucket.org/rpaulo/libgpio/src >=20 > Here's the header file: >=20 > = https://bitbucket.org/rpaulo/libgpio/src/1dfe793d0b0cd6caff2e196cf667a5c06= bbade8d/libgpio.h?at=3Ddefault >=20 > 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. >=20 > 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. I=E2=80=99d say go for it. -- ST4096-RIPE