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

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

[avr-gcc-list] Strings in *specific* flash


From: engineerj
Subject: [avr-gcc-list] Strings in *specific* flash
Date: Sun, 12 Mar 2006 15:11:34 -0800 (PST)

Hi all,

I need to be able to specify a particular location in flash to store a
string (used in bootloader code), and have tried in vain to use the pgmspace
api's to do the job.  What I'd like to do is:

PSTR("The string");

but point it to a specific address in flash.

Does somebody have a snippet of code they would like to share to locate a
string at an address of say 0x1F00, whose pointer can then be used in a
nnn_P() function?

James
--
View this message in context: 
http://www.nabble.com/Strings-in-*specific*-flash-t1269669.html#a3369777
Sent from the AVR - gcc forum at Nabble.com.





reply via email to

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