-
CONFIG_XIP
¶
Execute in place
Type: bool
Help¶
This option allows the kernel to operate with its text and read-only sections residing in ROM (or similar read-only memory). Not all boards support this option so it must be used with care; you must also supply a linker command file when building your image. Enabling this option increases both the code and data footprint of the image.
Defaults¶
- “y” if
SOC_OPENISA_RV32M1_RISCV32
- “y” if
SOC_SERIES_RISCV32_MIV
- “y” if
SOC_SERIES_RISCV32_SIFIVE_FREEDOM
- “y” if !
UART_NSIM
&&ARC
- “y” if
CPU_CORTEX_M
&&ARM
- “y” if
NIOS2
- “n” if
X86
Symbols that select this symbol¶
Kconfig definitions¶
At soc/riscv32/openisa_rv32m1/Kconfig.defconfig:26
Included via Kconfig:10
→ Kconfig.zephyr:23
Menu path: (top menu)
config XIP bool default "y" ifSOC_OPENISA_RV32M1_RISCV32
depends onSOC_OPENISA_RV32M1_RISCV32
At soc/riscv32/riscv-privilege/miv/Kconfig.defconfig.series:29
Included via Kconfig:10
→ Kconfig.zephyr:23
→ soc/riscv32/riscv-privilege/Kconfig.defconfig:7
Menu path: (top menu)
config XIP bool default "y" ifSOC_SERIES_RISCV32_MIV
depends onSOC_SERIES_RISCV32_MIV
At soc/riscv32/riscv-privilege/sifive-freedom/Kconfig.defconfig.series:29
Included via Kconfig:10
→ Kconfig.zephyr:23
→ soc/riscv32/riscv-privilege/Kconfig.defconfig:7
Menu path: (top menu)
config XIP bool default "y" ifSOC_SERIES_RISCV32_SIFIVE_FREEDOM
depends onSOC_SERIES_RISCV32_SIFIVE_FREEDOM
At arch/arc/Kconfig:132
Included via Kconfig:10
→ Kconfig.zephyr:29
→ arch/Kconfig:15
Menu path: (top menu) → ARC Options → ARCv2 Family Options
config XIP bool default "y" if !UART_NSIM
&&ARC
depends onARC
At arch/arm/core/cortex_m/Kconfig:313
Included via Kconfig:10
→ Kconfig.zephyr:29
→ arch/Kconfig:15
→ arch/arm/Kconfig:13
→ arch/arm/core/Kconfig:166
Menu path: (top menu) → ARM Options → ARM Cortex-M options
config XIP bool default "y" ifCPU_CORTEX_M
&&ARM
depends onCPU_CORTEX_M
&&ARM
At arch/nios2/Kconfig:27
Included via Kconfig:10
→ Kconfig.zephyr:29
→ arch/Kconfig:15
Menu path: (top menu) → Nios II Options → Nios II Family Options
config XIP bool default "y" ifNIOS2
depends onNIOS2
At arch/x86/Kconfig:351
Included via Kconfig:10
→ Kconfig.zephyr:29
→ arch/Kconfig:15
Menu path: (top menu) → X86 Architecture Options → Processor Capabilities
config XIP bool default "n" ifX86
depends onX86
At kernel/Kconfig:571
Included via Kconfig:10
→ Kconfig.zephyr:31
Menu path: (top menu) → General Kernel Options
config XIP
bool
prompt "Execute in place"
help
This option allows the kernel to operate with its text and read-only
sections residing in ROM (or similar read-only memory). Not all boards
support this option so it must be used with care; you must also
supply a linker command file when building your image. Enabling this
option increases both the code and data footprint of the image.
(Definitions include propagated dependencies, including from if’s and menus.)