CONFIG_CODE_DATA_RELOCATION_SRAM
Relocate code/data sections to SRAM
Type: bool
Help
When selected this will relocate .text, data and .bss sections from
the specified files and places it in SRAM. The files should be specified
in the CMakeList.txt file with a cmake API zephyr_code_relocate(). This
config is used to create an MPU entry for the SRAM space used for code
relocation.
Defaults
No defaults. Implicitly defaults to n
.
Symbols selected by this symbol
Symbols that select this symbol
Kconfig definition
At <Zephyr>/arch/arm/Kconfig:46
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:39
→ <Zephyr>/arch/Kconfig:12
Menu path: (Top) → ARM Options
config CODE_DATA_RELOCATION_SRAM
bool "Relocate code/data sections to SRAM"
select CODE_DATA_RELOCATION
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 SRAM. The files should be specified
in the CMakeList.txt file with a cmake API zephyr_code_relocate(). This
config is used to create an MPU entry for the SRAM space used for code
relocation.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)