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

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

Re: [avr-gcc-list] Structs in program memory.


From: Douglas Dotson
Subject: Re: [avr-gcc-list] Structs in program memory.
Date: Mon, 26 Apr 2004 16:51:34 -0700 (PDT)

Other than the PROGMEM directive in the declaration
of the struct, the rest can be totally transparent.
Most of the work can be done in the code generator
with just a bit of additional attribute info
provided by the parser.

Doug

--- "E. Weddington" <address@hidden> wrote:
> On 26 Apr 2004 at 15:57, Douglas Dotson wrote:
> 
> > Christian,
> > 
> > Thanks for the info. Too bad it isn't a bit more
> > seamless. Would be nice to be able to switch back
> > and forth from RAM to PROGMEM without rewriting 
> > code. I guess I can accomplish that using macros,
> > but that's kind of ugly.
> 
> Any switching between Program Memory and RAM will
> have seams of some sort 
> because the AVR is a Harvard Architecture chip.
> 



reply via email to

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