| |||
| Home > Embedded Software Development > Scatter-loading description file | |||
The scatter-loading description file syntax shown in the following figure reflects the functionality provided by scatter-loading itself:
A region is defined by a header tag that contains, as a minimum, a name for the region and a start address. Optionally, a maximum length and various attributes can be added.
The contents of the region depend on the type of region:
Load regions must contain at least one execution region. In practice, there are usually several execution regions for each load region.
Execution regions must contain at least one code
or data section, unless a region is declared with the EMPTY attribute.
Non-EMPTY regions usually contain object or library
code. The wildcard (*) syntax can be used to group all sections
of a given attribute not specified elsewhere in the scatter-loading
description file.
Using the Linker: