URL:
  <http://savannah.nongnu.org/bugs/?30499>

                 Summary: Wrong register names for atmega324pa
                 Project: AVR C Runtime Library
            Submitted by: logicnibble
            Submitted on: Tue 20 Jul 2010 04:49:13 PM GMT
                Category: Header
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Header files
                  Status: None
        Percent Complete: 0%
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.7.*
           Fixed Release: None

    _______________________________________________________

Details:

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.




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?30499>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to