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.
Defaults¶
No defaults. Implicitly defaults to n.
Kconfig definition¶
At <Zephyr Subsystem>/mgmt/mcumgr/Kconfig:183
Included via Kconfig:8 → Kconfig.zephyr:44 → <Zephyr Subsystem>/Kconfig:35 → <Zephyr Subsystem>/mgmt/Kconfig:9
Menu path: (Top) → Sub Systems and OS Services → Device Management → mcumgr Support → Command Handlers → Enable mcumgr handlers for image management
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.)