You copied the Doc URL to your clipboard.

Scatter-loading command-line option

The armlink command-line option for using scatter-loading is:

--scatter=scatter_file

This instructs the linker to construct the image memory map as described in scatter_file.

The Base Platform linking model supports scatter-loading. To enable this model, use the --base_platform command-line option.

Be aware that you cannot use --scatter with the following memory map related command-line options:

  • --bpabi

  • --dll

  • --partial

  • --ro_base

  • --rw_base

  • --ropi

  • --rwpi

  • --rosplit

  • --split

  • --reloc

  • --shared

  • --startup

  • --sysv

  • --zi_base.