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

Kconfig definitions

At arch/riscv32/soc/riscv-privilege/miv/Kconfig.defconfig.series:27

Included via Kconfig:10Kconfig.zephyr:20arch/riscv32/soc/riscv-privilege/Kconfig.defconfig:7

Menu path: (top menu)

config XIP
    bool
    default "y" if SOC_SERIES_RISCV32_MIV
    depends on SOC_SERIES_RISCV32_MIV

At arch/riscv32/soc/riscv-privilege/sifive-freedom/Kconfig.defconfig.series:27

Included via Kconfig:10Kconfig.zephyr:20arch/riscv32/soc/riscv-privilege/Kconfig.defconfig:7

Menu path: (top menu)

config XIP
    bool
    default "y" if SOC_SERIES_RISCV32_SIFIVE_FREEDOM
    depends on SOC_SERIES_RISCV32_SIFIVE_FREEDOM

At arch/arc/Kconfig:127

Included via Kconfig:10Kconfig.zephyr:23arch/Kconfig:16

Menu path: (top menu) → ARC Options → ARCv2 Family Options

config XIP
    bool
    default "y" if !UART_NSIM && ARC
    depends on ARC

At arch/arm/core/cortex_m/Kconfig:309

Included via Kconfig:10Kconfig.zephyr:23arch/Kconfig:16arch/arm/Kconfig:26arch/arm/core/Kconfig:162

Menu path: (top menu) → ARM Options → ARM Cortex-M options

config XIP
    bool
    default "y" if CPU_CORTEX_M && CPU_CORTEX_M && ARM
    depends on CPU_CORTEX_M && CPU_CORTEX_M && ARM

At arch/nios2/Kconfig:43

Included via Kconfig:10Kconfig.zephyr:23arch/Kconfig:16

Menu path: (top menu) → Nios II Options → Nios II Family Options

config XIP
    bool
    default "y" if NIOS2
    depends on NIOS2

At arch/x86/Kconfig:301

Included via Kconfig:10Kconfig.zephyr:23arch/Kconfig:16

Menu path: (top menu) → X86 Architecture Options → Processor Capabilities

config XIP
    bool
    default "n" if X86
    depends on X86

At kernel/Kconfig:532

Included via Kconfig:10Kconfig.zephyr:25

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.)