:orphan: .. title:: XIP .. option:: CONFIG_XIP *Execute in place* Type: ``bool`` Help ==== .. code-block:: none 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 =============================== - \ :option:`AARCH64_IMAGE_HEADER ` Symbols that select this symbol =============================== - \ :option:`SOC_SERIES_SAME70 ` - \ :option:`SOC_SERIES_SAMV71 ` - \ :option:`SOC_SERIES_NRF51X ` - \ :option:`SOC_SERIES_NRF52X ` - \ :option:`SOC_SERIES_NRF53X ` - \ :option:`SOC_SERIES_NRF91X ` - \ :option:`SOC_OPENISA_RV32M1_RISCV32 ` - \ :option:`SOC_ARM_DESIGNSTART_FPGA_CORTEX_M1 ` - \ :option:`SOC_ARM_DESIGNSTART_FPGA_CORTEX_M3 ` - \ :option:`FLASH_MCUX_FLEXSPI_XIP ` Symbols that imply this symbol ============================== - \ :option:`CPU_CORTEX_M ` - \ :option:`ARC ` - \ :option:`NIOS2 ` - \ :option:`RISCV ` Kconfig definitions =================== At ``/arc/snps_nsim/Kconfig.defconfig:12`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:19`` → ``/kconfig/Kconfig.soc.defconfig:1`` Menu path: (Top) .. code-block:: kconfig config XIP bool default n depends on SOC_NSIM ---- At ``/arm64/core/Kconfig:171`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:29`` → ``/Kconfig:12`` → ``/arm64/Kconfig:32`` Menu path: (Top) → ARM64 Options .. code-block:: kconfig config XIP bool select AARCH64_IMAGE_HEADER depends on (CPU_CORTEX_A || CPU_AARCH64_CORTEX_R) && ARM64 ---- At ``/Kconfig:608`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:30`` Menu path: (Top) → General Kernel Options .. code-block:: kconfig 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.)*