bugAVR C Runtime Library - Bugs: bug #30031, user visible eeprom/ram size...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #30031: user visible eeprom/ram size constant

Submitter:  Hose Bag <user>
Submitted:  Wed 02 Jun 2010 09:52:42 AM UTC
   
 
Category:  Feature Request Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Header files
Status:  Works For Me Assigned to:  joerg_wunsch
Percent Complete:  0% Open/Closed:  Closed
Release:  1.6.7 Fixed Release:  None

Tue 08 Jun 2010 08:33:54 AM UTC, comment #1: 

There's a constant E2END in the io*.h files.  As the EEPROM
always starts at address 0, this is always the size - 1.

Joerg Wunsch <joerg_wunsch>
Group administrator
Wed 02 Jun 2010 09:52:42 AM UTC, original submission:  

id like to write a method that writes as much as possible to the eeprom and returns an error, if there is not enough space.
currently this is only possible with hardcoded limits.

there exists a constant RAMSIZE in some(all?) io headers, but there is non available for eeprom. also it is not defined what happens if one calls the eeprom.h functions with bogus arguments, that would lead to an out of bounds access.

RFC, thanks

Hose Bag <user>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by joerg_wunsch (Posted a comment)
  •  

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-06-08 joerg_wunsch StatusNone Works For Me
        Assigned toNone joerg_wunsch
        Open/ClosedOpen Closed
    2010-06-04 user Carbon-CopyRemoved 41919 -

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code