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

ennut at thezachariasgroup.com ennut at thezachariasgroup.com
Thu Sep 20 22:13:00 CEST 2007


   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.


   Zack

At 12:55 PM 9/20/2007, you wrote:

>Is there a reason why PIO_ID is not defined for the at91sam7x but is
>required in the file arch/arm/dev/ih_at91pio.c
>
>Since is PIO_ID is not defined, the PIO Interrupt Handler is NOT usuable.
>
>I believe the PIO_ID should be set in include/arch/arm/at91sam7x.h as
>#define PIO_ID    2
>
>But I am not entire certain.
>
>Tim
>
>_______________________________________________
>http://lists.egnite.de/mailman/listinfo/en-nut-discussion




More information about the En-Nut-Discussion mailing list