This is the documentation for the latest (master) 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 that imply this symbol

Kconfig definitions

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

Included via Kconfig:8Kconfig.zephyr:25doc/_build/Kconfig/Kconfig.soc.defconfig:1

Menu path: (Top)

config XIP
    bool
    default n
    depends on SOC_NSIM

At kernel/Kconfig:574

Included via Kconfig:8Kconfig.zephyr:30

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