ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] simple gpio driver


From: Peter Barada
Subject: Re: [Ltib] simple gpio driver
Date: Mon, 28 Mar 2011 09:15:28 -0400
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8

On 03/28/2011 05:17 AM, Krzysztof Stankiewicz wrote:

could anyone send me a sample of a makefile and c that will enable me to make a simple gpio driver ?
alli want is to be able to compile it within ltib environment and im not sure how to do that..
including from kernel source generates a lot of errors..ie gpio.h and such..

If all you want to do is to build a driver for your kernel in LTIB, look at helloworld_mod package.  Its a simple driver that when loaded into your kernel prints out "Hello World", but it is a demonstration of how to build/install a driver for a particular kernel in LTIB - copy it into a new package "gpio_mod?" and adapt as need be.

triggering an isr on gpio change would be pretty much all i need to achieve....

For that you need to ask another mailing list.  This list is more about build ing LTIB, not the kernel that's built in LTIB.


please help




-- 
Peter Barada
address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]