You copied the Doc URL to your clipboard.
When preprocessing the scatter file, this option enables commands to be passed to the preprocessor. You specify a preprocessor on the first line of the scatter file.
The following example shows the scatter file contents before preprocessing.
Use armlink with the command-line options:
--predefine="-DBASE=0x8000" --predefine="-DBASE2=0x1000000" --scatter=filename
This passes the command-line options: -DBASE=0x8000
-DBASE2=0x1000000
to the compiler to preprocess the scatter
file.
The following example shows how the scatter file looks after preprocessing:
- Concepts
Using the Linker:
- Reference