Locating const data in flash memory

Ian Lance Taylor iant@google.com
Tue Apr 12 22:38:00 GMT 2011


Donald Schlicht <dschlic1@gmail.com> writes:

>    I am using the gcc arm-elf tool chain. I have a large const data
> structure which I would like to locate inot flash portion of the
> memory of the microcontroller. Is there any way to do this?

This is a job for linker scripts.  See the linker manual.

Ian



More information about the Gcc-help mailing list