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
|