Crossware

Table of Contents        Previous topic       Next topic       

LINKER->Linker Scripts->Linker Script Language->Storage Address

The storage address of a section definition is optional and is specified using the LOAD keyword:

LOAD(expression)

A storage address is normally only required if the storage address is different from the run-time address.  For example:

__mysegment LOAD(__flash_flash_segment_end):
{
__mysegment_start = .;
    *(.mysegment)
    __mysegment_end = .;
} > ram_memory

The AT keyword can be used instead of LOAD.