You copied the Doc URL to your clipboard.

Overlay support in ARM® Compiler

There are situations when you might want to load some code in memory, then replace it with different code. For example, your system might have memory constraints that mean you cannot load all code into memory at the same time.

The solution is to create an overlay region where each piece of overlaid code is unloaded and loaded by an overlay manager. ARM® Compiler supports:

  • An automatic overlay mechanism, where the linker decides how your code sections get allocated to overlay regions.
  • A manual overlay mechanism, where you manually arrange the allocation of the code sections.