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

 
 

bug #30031: user visible eeprom/ram size constant

Submitted by:  Hose Bag <user>
Submitted on:  Wed 02 Jun 2010 09:52:42 AM UTC  
 
Category: Feature RequestSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Header files
Status: Works For MePercent Complete: 0%
Assigned to: Joerg Wunsch <joerg_wunsch>Open/Closed: Closed
Release: 1.6.7Fixed Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 08 Jun 2010 08:33:54 AM UTCjoerg_wunschStatusNone=>Works For Me
      Assigned toNone=>joerg_wunsch
      Open/ClosedOpen=>Closed
    Fri 04 Jun 2010 11:47:34 PM UTCuserCarbon-CopyRemoved 41919=>-

    Back to the top


    Powered by Savane 3.1-cleanup1