Table of Contents Previous topic Next topic
LINKER->Linker Scripts->Linker Script Language->Memory Region Name
The memory region name preceded by the > symbol is used to specify the runtime location of an output section.
__mysegment :
{
__mysegment_start = .;
*(.mysegment)
__mysegment_end = .;
} > flash_memory
The run-time address of output section __mysegment should be in the memory region specified by the flash_memory memory region name. Since there is no separate LOAD expression in this example then the storage address will be identical to the run-time address.