:orphan: .. title:: CONFIG_IMG_MGMT_REJECT_DIRECT_XIP_MISMATCHED_SLOT .. kconfig:: CONFIG_IMG_MGMT_REJECT_DIRECT_XIP_MISMATCHED_SLOT CONFIG_IMG_MGMT_REJECT_DIRECT_XIP_MISMATCHED_SLOT ################################################# *Reject Direct-XIP applications with mismatched address* Type: ``bool`` Help ==== .. code-block:: none When enabled, the mcumgr will compare base address of application, encoded into .bin file header with use of imgtool, on upload and will reject binaries that would not be able to start from available Direct-XIP address. The base address can be set, to an image binary header, with imgtool, using the --rom-fixed command line option. Direct dependencies =================== \ :kconfig:`MCUMGR_CMD_IMG_MGMT ` && \ :kconfig:`MCUMGR ` *(Includes any dependencies from ifs and menus.)* Defaults ======== No defaults. Implicitly defaults to ``n``. Kconfig definition ================== At ``/mgmt/mcumgr/Kconfig:183`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:35`` → ``/mgmt/Kconfig:9`` Menu path: (Top) → Sub Systems and OS Services → Device Management → mcumgr Support → Command Handlers → Enable mcumgr handlers for image management .. code-block:: kconfig config IMG_MGMT_REJECT_DIRECT_XIP_MISMATCHED_SLOT bool "Reject Direct-XIP applications with mismatched address" depends on MCUMGR_CMD_IMG_MGMT && MCUMGR help When enabled, the mcumgr will compare base address of application, encoded into .bin file header with use of imgtool, on upload and will reject binaries that would not be able to start from available Direct-XIP address. The base address can be set, to an image binary header, with imgtool, using the --rom-fixed command line option. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*