:orphan: .. title:: CODE_DATA_RELOCATION .. option:: 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_relocate(). Direct dependencies =================== \ :option:`ARM ` *(Includes any dependencies from ifs and menus.)* Defaults ======== No defaults. Implicitly defaults to ``n``. Kconfig definition ================== .. highlight:: kconfig At ``Kconfig.zephyr:65`` Included via ``Kconfig:8`` Menu path: (Top) → Build and Link Features → Linker Options .. parsed-literal:: config CODE_DATA_RELOCATION bool "Relocate code/data sections" depends on \ :option:`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.)*