Open avrs-admin opened 2 years ago
Eric Weddington
The ATmega324P.xml device file from AVR Studio has duplicate
rr
You're right about that, but I'm mentioning the problem in the iom324pa.h file. There are 3 different signatures: atmega324p :0x1e9508 atmega324a :0x1e9515 atmega324pa :0x1e9511 When the Atmel bug is fixed, don't forget to update atmega324pa too, looking for those register names wrongly defined. BTW, the Atmel bug link is wrong.
Eric Weddington
Yes, really all three variants need to have updated header files. I'll make sure and do that after the Atmel bug is fixed.
The link to the bug was automatically put in by Savannah, and it thinks that it's a bug on this system, which it is not. This is an Atmel-internal bug number. Sorry for any confusion.
Tue 20 Jul 2010 06:49:13 PM CEST
iom324pa.h has registers like SPCR0, SPSR0, SPDR0 and their bits, that have a different name in the datasheet. When compiling with avr-gcc 4.3.4 and avr-libc 1.7.0, and using the correct register names from datasheet (SPCR, SPSR, SPDR, ...), I get the "SPDR undeclared" as expected, since they are defined in the io header as a different name. Maybe there are more wrong names in the file.
This issue was migrated from https://savannah.nongnu.org/bugs/?30499