
15 Jan
2010
15 Jan
'10
3:49 p.m.
File at91_pio.h inserts following line:
+#define AT91_PORTPIN(PORT, PIN) ((0x0##PORT - 10)*32+((PIN) & 0x1F))
this is wrong, sorry about this.
I will resend this patch as soon as posible.
In the meantime you can manually change the line to
#define AT91_PORTPIN(PORT, PIN) ((0x0##PORT - 9) * 32 + ((PIN) & 0x1F))
Best regards Jens Scharsig