:orphan: .. title:: CONFIG_USE_DT_CODE_PARTITION .. kconfig:: CONFIG_USE_DT_CODE_PARTITION CONFIG_USE_DT_CODE_PARTITION ############################ *Link application into /chosen/zephyr,code-partition from devicetree* Type: ``bool`` Help ==== .. code-block:: none 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 =================== (\ :kconfig:`TRUSTED_EXECUTION_NONSECURE ` && \ :kconfig:`BOARD_NUCLEO_L552ZE_Q `) || (\ :kconfig:`TRUSTED_EXECUTION_NONSECURE ` && \ :kconfig:`BOARD_STM32L562E_DK `) || \ :kconfig:`HAS_FLASH_LOAD_OFFSET ` *(Includes any dependencies from ifs and menus.)* Defaults ======== - y - y Symbols that select this symbol =============================== - \ :kconfig:`BOOTLOADER_MCUBOOT ` - \ :kconfig:`BOOTLOADER_BOSSA ` Kconfig definitions =================== At ``/arm/nucleo_l552ze_q/Kconfig.defconfig:14`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:22`` Menu path: (Top) .. code-block:: kconfig config USE_DT_CODE_PARTITION bool default y depends on TRUSTED_EXECUTION_NONSECURE && BOARD_NUCLEO_L552ZE_Q ---- At ``/arm/stm32l562e_dk/Kconfig.defconfig:43`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:22`` Menu path: (Top) .. code-block:: kconfig config USE_DT_CODE_PARTITION bool default y depends on TRUSTED_EXECUTION_NONSECURE && BOARD_STM32L562E_DK ---- At ``Kconfig.zephyr:83`` Included via ``Kconfig:8`` Menu path: (Top) → Build and Link Features → Linker Options .. code-block:: kconfig 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.)*