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 -m Am 11.12.2012 um 21:32 schrieb Marco Poli: > Hello all! > > > > I would like to apologize if this is a somehow recurrent or previously > addressed question, but all the answers I got on the topic were inconclusive, > at least for someone with so far minimal experience with Xenomai. > > Raspberry Pi patched kernels have GPIO and GPIO generated-interrupts working > and exported to userland, but it is unclear to me if the in-kernel drivers > are able to deal with RT applications in primary mode, or would it be > necessary to make changes to the Linux Kernel Drivers or new GPIO RTDM > drivers to be able to access GPIO from a RT application in primary mode? > Maybe Analogy? > > Is it possible to use these sort of Linux Kernel GPIO drivers and still be > able to have my application not leave primary mode? Is there some source of > documentation someone can point me to that might be of assistence? > > > Thanks in advance. > > _______________________________________________ > Xenomai mailing list > [email protected] > http://www.xenomai.org/mailman/listinfo/xenomai _______________________________________________ Xenomai mailing list [email protected] http://www.xenomai.org/mailman/listinfo/xenomai
