Anything you define as const is allocated in the flash (at least gcc does this, have no experience with other compilers yet). Because the arm has only one address space, all memory (flash and ram) is the same, except you cannot write to the flash directly. The only reason you may want to copy to ram is because ram is faster than flash is some cases. Richard. Jaromir wrote: > Hello, > > how can i keep long strings(or fonts,bitmaps) only in flash memory, > and later read. > I use gcc - is something like read_flash_byte() function? > or can i use memcpy ? > > Jaromir > _________________________________________________________________ > List sprawdzony skanerem poczty mks_vir ( http://www.mks.com.pl ) > > > [Non-text portions of this message have been removed] > > > ------------------------------------------------------------------------ > *Yahoo! Groups Links* > > * To visit your group on the web, go to: > http://groups.yahoo.com/group/lpc2000/ > > * To unsubscribe from this group, send an email to: > lpc2000-unsubscribe@yahoogroups.com > <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe> > > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of > Service <http://docs.yahoo.com/info/terms/>. > >
Message
Re: [lpc2000] Flash variables
2005-04-22 by Richard Duits
Attachments
- No local attachments were found for this message.