:orphan: .. title:: CONFIG_CODE_DATA_RELOCATION .. kconfig:: CONFIG_CODE_DATA_RELOCATION CONFIG_CODE_DATA_RELOCATION ########################### *Relocate code/data sections* Type: ``bool`` Help ==== .. code-block:: none 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_relocate(). Direct dependencies =================== \ :kconfig:`CPU_CORTEX_M ` && \ :kconfig:`ARM ` *(Includes any dependencies from ifs and menus.)* Defaults ======== No defaults. Implicitly defaults to ``n``. Symbols that select this symbol =============================== - \ :kconfig:`CODE_DATA_RELOCATION_SRAM ` - \ :kconfig:`FLASH_MCUX_FLEXSPI_XIP_MEM_ITCM ` Kconfig definition ================== At ``/arm/Kconfig:37`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:39`` → ``/Kconfig:12`` Menu path: (Top) → ARM Options .. code-block:: kconfig config CODE_DATA_RELOCATION bool "Relocate code/data sections" depends on CPU_CORTEX_M && 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_relocate(). *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*