:orphan: .. title:: IMG_MGMT_REJECT_DIRECT_XIP_MISMATCHED_SLOT .. option:: CONFIG_IMG_MGMT_REJECT_DIRECT_XIP_MISMATCHED_SLOT *Reject Direct-XIP applications with mismatched address* Type: ``bool`` 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. Direct dependencies =================== \ :option:`MCUMGR_CMD_IMG_MGMT ` && \ :option:`MCUMGR ` *(Includes any dependencies from ifs and menus.)* Defaults ======== No defaults. Implicitly defaults to ``n``. Kconfig definition ================== .. highlight:: kconfig At ``subsys/mgmt/mcumgr/Kconfig:168`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:34`` → ``subsys/Kconfig:35`` → ``subsys/mgmt/Kconfig:9`` Menu path: (Top) → Sub Systems and OS Services → Device Management → mcumgr Support → Command Handlers → Enable mcumgr handlers for image management .. parsed-literal:: config IMG_MGMT_REJECT_DIRECT_XIP_MISMATCHED_SLOT bool "Reject Direct-XIP applications with mismatched address" depends on \ :option:`MCUMGR_CMD_IMG_MGMT ` && \ :option:`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.)*