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

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

Re: [avr-gcc-list] More complex question about placment of code.


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] More complex question about placment of code.
Date: Thu, 30 Jan 2003 10:01:24 +0100 (MET)

"Frantz" <address@hidden> wrote:

> This is a multi-part message in MIME format.

Umm, please don't post HTML.

> But, with const placed with progmem:
>  
>  
> const char PROGMEM __((section=(MY_SECTION)))  my_var=1;

That cannot work.  If you look at the definition of PROGMEM, you'll
notices that it contains an __attribute__((section())) of its own.
You cannot place some object into two sections by the same time (for
obvious reasons, i think).

-- 
J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/
avr-gcc-list at http://avr1.org



reply via email to

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