[Top][All Lists]

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

Re: [avr-gcc-list] Compiling Oberon-2 for AVR

From: Joerg Wunsch
Subject: Re: [avr-gcc-list] Compiling Oberon-2 for AVR
Date: Fri, 13 Jul 2001 11:07:04 +0200 (MET DST)

Stewart Greenhill <address@hidden> wrote:

> Are there any limitations on initialisation of static structures in
> ROM?  Providing the progmem attributes are correct, can I treat it
> like a regular initialisation (ie. initialise a pointer in progmem
> with the address of a structure in progmem)?

Unfortunably not.  The progmem handling is (currently) very low-level,
you have to copy from program memory address space manually.  The only
help for it is a bit of macro support (that basically translates
directly into the respective lpm assembler statements).

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

reply via email to

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