avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [bug #13290] avr/io.h EEAR def is flawed for the Mega48


From: Bob Paddock
Subject: [avr-libc-dev] [bug #13290] avr/io.h EEAR def is flawed for the Mega48
Date: Fri, 3 Jun 2005 23:48:24 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

URL:
  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=13290>

                 Summary: avr/io.h EEAR def is flawed for the Mega48
                 Project: AVR C Runtime Library
            Submitted by: bpaddock
            Submitted on: Fri 06/03/2005 at 23:48
                Category: Header
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
        Originator Email: address@hidden
             Open/Closed: Open

    _______________________________________________________

Details:

For the Mega48 the logic at the end of
<avr/io.h> is flawed because iomx8.h sets E2END to 0xFF.

#if E2END < 0x100 && !defined(__COMPILING_AVR_LIBC__)
# undef EEAR
# if E2END > 0
#   define EEAR _SFR_IO8(0x1E)
# endif
# undef EEARH
#endif



    _______________________________________________________

Carbon-Copy List:

CC Address                          | Comment
------------------------------------+-----------------------------
address@hidden               | Originator Email




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=13290>

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]