|Home > Scatter-loading Features > The scatter-loading mechanism > Scatter-loading command-line options|
The command-line options to the linker give some control over the placement of data and code, but complete control of placement requires more detailed instructions than can be entered on the command line.
Placement of code and data in complex memory maps must be specified in a scatter file. You specify the scatter file with the option:
This instructs the linker to construct the image memory map as described in
You can use
--scatter with the
--base_platform linking model.
For simple memory maps, you can place code and data with with the following memory map related command-line options:
--dll, you cannot use
--scatterwith these options.