The latest development version of this page may be more current than this released 2.7.5 version.

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

  • n

  • n

  • n

  • n

Symbols selected by this symbol

Symbols that select this symbol

Symbols that imply this symbol

Kconfig definitions

At soc/arc/snps_nsim/Kconfig.defconfig:9

Included via Kconfig:8Kconfig.zephyr:27

Menu path: (Top)

config XIP
    bool
    default n
    depends on SOC_NSIM

At soc/riscv/esp32c3/Kconfig.defconfig:26

Included via Kconfig:8Kconfig.zephyr:27

Menu path: (Top)

config XIP
    bool
    default n
    depends on SOC_ESP32C3

At soc/riscv/riscv-privilege/telink_b91/Kconfig.defconfig.series:34

Included via Kconfig:8Kconfig.zephyr:27soc/riscv/riscv-privilege/Kconfig.defconfig:6

Menu path: (Top)

config XIP
    bool
    default n
    depends on SOC_SERIES_RISCV_TELINK_B91

At soc/xtensa/esp32s2/Kconfig.defconfig:17

Included via Kconfig:8Kconfig.zephyr:27

Menu path: (Top)

config XIP
    bool
    default n
    depends on SOC_ESP32S2

At arch/arm64/core/Kconfig:172

Included via Kconfig:8Kconfig.zephyr:39arch/Kconfig:12arch/arm64/Kconfig:32

Menu path: (Top) → ARM64 Options

config XIP
    bool
    select AARCH64_IMAGE_HEADER
    depends on (CPU_CORTEX_A || CPU_AARCH64_CORTEX_R) && ARM64

At kernel/Kconfig:627

Included via Kconfig:8Kconfig.zephyr:40

Menu path: (Top) → General Kernel Options

config XIP
    bool "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.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)