[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] [bug #26365] Better PROGMEM_FAR support
From: |
Jan Waclawek |
Subject: |
[avr-libc-dev] [bug #26365] Better PROGMEM_FAR support |
Date: |
Mon, 27 Apr 2009 21:47:21 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0 |
URL:
<http://savannah.nongnu.org/bugs/?26365>
Summary: Better PROGMEM_FAR support
Project: AVR C Runtime Library
Submitted by: wek
Submitted on: Mon 27 Apr 2009 09:47:19 PM GMT
Category: Feature Request
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Percent Complete: 0%
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Release: Any
Fixed Release: None
_______________________________________________________
Details:
It would be nice to see a better support for constant variables placed above
the 64kB limit in those AVRs which do have >64kB FLASH.
This could include one or more of the following:
- inclusion of complete https://savannah.nongnu.org/patch/?6352 of Carlos
Lamas, especially the GET_FAR_ADDRESS() macro
- similar macros for far function pointers, if possible
- a section to the relevant default linker scripts, placed just above the end
of code (.fini0) - maybe called .progmem_far
- a macro hiding usage of the above section, maybe as PROGMEM_FAR, analogous
to the existing PROGMEM macro
- detection of crossing of the 64kB boundary by PROGMEM variables (and other
related data which needs to be positioned at the bottom 64kB)
- better detection of big PROGMEM data initialiser - at the moment, the
compiler throws an error if the initialiser is >32kB, but compiles cleanly
(albeit incorrectly) if the initialiser is >64kB.
Thanks,
Jan Waclawek
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?26365>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [avr-libc-dev] [bug #26365] Better PROGMEM_FAR support,
Jan Waclawek <=