avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] Debugging with gdb7.5


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] Debugging with gdb7.5
Date: Thu, 27 Jun 2013 21:01:27 +0200 (MET DST)

"Schwichtenberg, Knut" <address@hidden> wrote:

> BTW: Does it make sense to have all PROGMEM variables as the first
> components to be set in the flash or shouldn't they be moved per
> default to the end of the text segment?

The librarie's *_P() functions take only 16-bit pointers, so they are
limited to the first 64 KiB segment of flash.  That's the reason why
the linkerscripts put PROGMEM stuff in front of ordinary functions
(only the vector table precedes them).
-- 
cheers, Joerg               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)



reply via email to

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