:orphan: .. title:: CONFIG_IMG_MGMT_UPDATABLE_IMAGE_NUMBER .. kconfig:: CONFIG_IMG_MGMT_UPDATABLE_IMAGE_NUMBER CONFIG_IMG_MGMT_UPDATABLE_IMAGE_NUMBER ###################################### *Number of supported images* Type: ``int`` Help ==== .. code-block:: none Sets how many application images are supported (pairs of secondary and primary slots). Setting this to 2 requires MCUMGR_BUF_SIZE to be at least 512b. NOTE: The UPDATEABLE_IMAGE_NUMBER of MCUBOOT configuration, even for Zephyr build, needs to be set to the same value; this is due to the fact that the mcumgr uses boot_util and the UPDATEABLE_IMAGE_NUMBER controls number of images supported by that library. Direct dependencies =================== \ :kconfig:`MCUMGR_CMD_IMG_MGMT ` && \ :kconfig:`MCUMGR ` *(Includes any dependencies from ifs and menus.)* Default ======= - \ :kconfig:`UPDATEABLE_IMAGE_NUMBER ` Kconfig definition ================== At ``/mgmt/mcumgr/Kconfig:167`` 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_UPDATABLE_IMAGE_NUMBER int "Number of supported images" range 1 2 default UPDATEABLE_IMAGE_NUMBER depends on MCUMGR_CMD_IMG_MGMT && MCUMGR help Sets how many application images are supported (pairs of secondary and primary slots). Setting this to 2 requires MCUMGR_BUF_SIZE to be at least 512b. NOTE: The UPDATEABLE_IMAGE_NUMBER of MCUBOOT configuration, even for Zephyr build, needs to be set to the same value; this is due to the fact that the mcumgr uses boot_util and the UPDATEABLE_IMAGE_NUMBER controls number of images supported by that library. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*