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

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

[avr-libc-dev] [bug #22447] Summary of iom?8p.h header updates needed


From: CurtVM
Subject: [avr-libc-dev] [bug #22447] Summary of iom?8p.h header updates needed
Date: Fri, 29 Feb 2008 16:19:15 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3

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

                 Summary: Summary of iom?8p.h header updates needed
                 Project: AVR C Runtime Library
            Submitted by: curtvm
            Submitted on: Friday 02/29/2008 at 16:19
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
        Percent Complete: 0%
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Here is a summary of header changes needed for the 8p series-
(some have already been submitted previously)

I was looking at the headers in the recent update- avr-libc-bin-1.6-20080228
to determine what changes were still needed- 

iom168p.h
change->  #define SPM_PAGESIZE 64
to----->  #define SPM_PAGESIZE 128

iom88p.h, iom168p.h,iom328p
change->  #define EEAR _SFR_IO8(0x21)
to----->  #define EEAR _SFR_IO16(0x21)

iom48p.h, iom88p.h, iom168p.h, iom328p.h
missing-
#define _EEPROM_REG_LOCATIONS_ 1F2021

#define EIMSK   _SFR_IO8(0x1D)
#define INT0    0
#define INT1    1 

iom88p.h, iom168p.h, iom328p.h
missing-
/*under #define MCUCR _SFR_IO8(0x35)*/
#define IVSEL   1
#define IVCE    0


'not sure' category-

iom48p.h
missing-
#define EEAR _SFR_IO16(0x21)
#define EEARH _SFR_IO8(0x22)
I think these may still be wanted in the header,
even though EEARH is unused in the 48p. I'm not
sure if it matters if EEAR8 is left in an unknown state,
but at least it would help in code compatability
when moving from the other x8 avr's to the '48 (for those
not using the libc eeprom routines)




    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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