This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: How to create a GPIO driver
- From: Andrew Lunn <andrew at lunn dot ch>
- To: EnneGi <enricogiordano1992 at gmail dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Sun, 10 Mar 2013 19:59:22 +0100
- Subject: Re: [ECOS] How to create a GPIO driver
- References: <1362939557386-224910.post@n7.nabble.com>
On Sun, Mar 10, 2013 at 11:19:17AM -0700, EnneGi wrote:
> Hi, I must create a GPIO driver for my lpc1766 board. I try to search some
> source example for do it, but for gpio drivers I don't find anything. Does
> anybody tell me how I do it please?
For one example, take a look at the end of:
http://ecos.sourceware.org/cgi-bin/cvsweb.cgi/ecos/packages/hal/arm/at91/var/current/include/var_io.h?rev=1.27&content-type=text/x-cvsweb-markup&cvsroot=ecos
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss