[Top][All Lists]

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

Re: [avr-gcc-list] Array of strings in prog. mem.

From: Carl Wall
Subject: Re: [avr-gcc-list] Array of strings in prog. mem.
Date: Fri, 23 Feb 2001 17:39:58 -0500
User-agent: Mutt/1.2.5i

Hi Robert
 Check the code for pavr on  avr.jpk.co.nz it has arrays which
are stored in program memory, and may be of help. 
On Fri, Feb 23, 2001 at 01:51:08PM +0100, Robert Rozman wrote:
> I'm having troubles with putting array of strings into program memory.
> As long as I don't put progmem attribute in front of my array of days
> ("days[]={"Mon","Tue", ...     ) program works, but it copies array to
> RAM. I don't want that, I'd like to keep them in prog. mem.
> But if I put them in prog.mem. with attribute command and interpret them
> with PRG_RDB macro it doesn't work.

Carl A. Wall    VE3APY                Toronto, Ontario, Canada
"Created on DEBIAN 2.2,  an alternative to Microsoft Systems
  and a GNU/Linux distribution of Open Source programming" 

reply via email to

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