This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired 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.

Default

  • n

Symbols selected by this symbol

Symbols that imply this symbol

Kconfig definitions

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

Included via Kconfig:8Kconfig.zephyr:27

Menu path: (Top)

config XIP
    bool
    default n
    depends on SOC_NSIM

At arch/arm64/core/Kconfig:171

Included via Kconfig:8Kconfig.zephyr:37arch/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:608

Included via Kconfig:8Kconfig.zephyr:38

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