The latest development version of this page may be more current than this released 1.14.1 version.
CONFIG_CODE_DATA_RELOCATION

Relocate code/data sections

Type: bool

Help

When selected this will relocate .text, data and .bss sections from the specified files and places it in the required memory region. The files should be specified in the CMakeList.txt file with a cmake API zephyr_code_relocation().

Direct dependencies

ARM

(Includes any dependencies from if’s and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At Kconfig.zephyr:70

Included via Kconfig:10

Menu path: (top menu) → Build and Link Features → Linker Options

config CODE_DATA_RELOCATION
    bool
    prompt "Relocate code/data sections" if ARM
    depends on ARM
    help
      When selected this will relocate .text, data and .bss sections from
      the specified files and places it in the required memory region. The
      files should be specified in the CMakeList.txt file with
      a cmake API zephyr_code_relocation().

(Definitions include propagated dependencies, including from if’s and menus.)