Message-ID: <50C8330D.8040305@xenomai.org> Date: Wed, 12 Dec 2012 08:32:29 +0100 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <1491832.238.1355257934434.JavaMail.poli@jacqueline> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] RT GPIO with Raspberry Pi List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Haberler Cc: xenomai@xenomai.org 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.