On 12/12/2012 07:54 AM, Michael Haberler wrote:

> not strictly a Xenomai issue, but I'd completely bypass the kernel
> GPIO support and manipulate the GPIO registers directly - they are
> all memory mapped
> 
> some inspiration here:
> http://git.mah.priv.at/gitweb/emc2-dev.git/blob/refs/heads/rtos-integration-preview1:/src/hal/drivers/hal_gpio.c
>
>  this runs from a userland thread but kernel shouldnt be much
> different


Yeah, good idea, depending on the way to access registers, you get
concurrence issues, conflicts between applications, a lot of fun.

-- 
                                                                Gilles.

_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai

Reply via email to