| |||
| Home > Working with Editors > Scatter file editor | |||
The scatter file editor enables you to easily create and edit scatter-loading description files for use with the ARM linker to construct the memory map of an image. It provides a text editor, a hierarchical tree and a graphical view of the regions and output sections of an image. You can change the default syntax formatting and color schemes in the Preferences dialog box. See Preferences dialog box for more information.
If this is not the default editor, right-click on your source file in the Project Explorer view and select Open With → Scatter File Editor from the context menu.
The scatter file editor displays the following tabs:
SourceTextual view of the source code with syntax highlighting and formatting.
A graphical view showing load and execute memory maps. These are not editable, however, you can select a load region to show the related memory blocks in the execution regions.
The scatter file editor also provides a hierarchical tree with associated toolbar and context menus using the Outline view. Clicking on a region or section in the Outline view moves the focus of the editor to the relevant position in your code. If this view is not visible, select Show View → Outline from the Window menu.
See ARM® Compiler toolchain Using the Linker and ARM® Compiler toolchain Linker Reference for more information on how to use scatter-loading description files.
The scatter file editor does not support preprocessing directives, for example:
#! armcc -E.
Before you can use a scatter-loading description file you
must add the --scatter= option
to the project within the C/C++ Build → Settings → Tool settings → ARM RealView Linker → Output panel
of the Properties dialog box. See Properties dialog box for more information.file
See also: