[En-Nut-Discussion] "US_PIOA_PINS_A" redefined
Marcus Jansson
jansson.marcus at yahoo.se
Mon Oct 5 14:22:29 CEST 2009
Jose wrote:
> The compilation process complains about redefinition of "US_PIOA_PINS_A"
Hi Jose,
Somehow your MCU seem to not have been defined properly at this point of the compilation. In fact, you seem to have
multiple MCUs defined.
I dont know if this work well, but you could try to manually add a #define MCU_AT91SAM7S (or whatever MCU you have) and
#undef other MCUs at the top of /arch/arm/dev/usart0at91.c to temporarily solve your problems.
Also, usart0at91.c in NutOS 4.8.4 have the #define NUT_DEPRECATED.
NutOS 4.9.6 seem to be slightly different for at91 USART, so maybe you could try that as well.
/M
More information about the En-Nut-Discussion
mailing list