CONFIG_USE_DT_CODE_PARTITION

Link application into /chosen/zephyr,code-partition from devicetree

Type: bool

Help

When enabled, the application will be linked into the flash partition selected by the zephyr,code-partition property in /chosen in devicetree. When this is disabled, the flash load offset and size can be set manually below.

Direct dependencies

HAS_FLASH_LOAD_OFFSET

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Symbols that select this symbol

Kconfig definition

At Kconfig.zephyr:94

Included via Kconfig:8

Menu path: (Top) → Build and Link Features → Linker Options

config USE_DT_CODE_PARTITION
    bool "Link application into /chosen/zephyr,code-partition from devicetree"
    depends on HAS_FLASH_LOAD_OFFSET
    help
      When enabled, the application will be linked into the flash partition
      selected by the zephyr,code-partition property in /chosen in devicetree.
      When this is disabled, the flash load offset and size can be set manually
      below.

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