You copied the Doc URL to your clipboard.

Manual overlay support

To manually allocate code sections to overlay regions, you must set up a scatter file to locate the overlays.

The manual overlay mechanism consists of:

  • The OVERLAY attribute for load regions and execution regions. Use this attribute in a scatter file to indicate regions of memory where the linker assigns the overlay sections for loading into at runtime.
  • The following armlink command-line options to add extra debug information to the image:

    • --emit_debug_overlay_relocs.
    • --emit_debug_overlay_section.

    This extra debug information permits an overlay-aware debugger to track which overlay is active.

This section contains the following subsections: