[En-Nut-Discussion] Possible Bug/Oversight!

Tim DeBaillie debaillie at ciholas.com
Fri Sep 21 21:24:51 CEST 2007


On Thu, 20 Sep 2007, ennut at thezachariasgroup.com wrote:

>   Tim,
>
>   In nut/arch/arm/dev/ih_at91pio.c I added the following code until
> there was an official solution
> addressing PIOA and PIOB in the AT91SAM7X256.
>
> Since I needed an interrupt handler for PIOA:
>
> Add this BEFORE: #if defined(PIO_ID)
>
> #if defined(PIOA_ID)
> #define PIO_ID PIOA_ID
> #endif
>
> The OS then needs to be rebuilt.

This I understand, but personally I think this should be in the default 
source.  Also it should be updated in include/arch/arm/at91sam7x.h
NOT in arch/arm/dev/ih_at91pio.c.

-- 
Tim DeBaillie			812-962-9402 (voice)
Ciholas Technologies		812-962-9401 (fax)
255 S. Garvin St, Suite B	debaillie at ciholas.com
Evansville, IN 47713		www.ciholas.com



More information about the En-Nut-Discussion mailing list