:orphan: .. title:: CONFIG_IMG_MGMT_DIRECT_IMAGE_UPLOAD .. kconfig:: CONFIG_IMG_MGMT_DIRECT_IMAGE_UPLOAD CONFIG_IMG_MGMT_DIRECT_IMAGE_UPLOAD ################################### *Allow direct image upload* Type: ``bool`` Help ==== .. code-block:: none Enables directly uploading image to selected image partition. This changes how "image" is understood by mcumgr: normally the mcumgr allows to upload to first slot of the only image it knows, where image is understood as two slots (two DTS images for Zephyr); this allows to treat every DTS defined image as direct target for upload, and more than two may be used (4 at this time). NOTE: When direct upload is used the image numbers are shifted by + 1, and the default behaviour is, when image is not selected, to upload to image that represents secndary slot in normal operation. 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:171`` 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_DIRECT_IMAGE_UPLOAD bool "Allow direct image upload" depends on MCUMGR_CMD_IMG_MGMT && MCUMGR help Enables directly uploading image to selected image partition. This changes how "image" is understood by mcumgr: normally the mcumgr allows to upload to first slot of the only image it knows, where image is understood as two slots (two DTS images for Zephyr); this allows to treat every DTS defined image as direct target for upload, and more than two may be used (4 at this time). NOTE: When direct upload is used the image numbers are shifted by + 1, and the default behaviour is, when image is not selected, to upload to image that represents secndary slot in normal operation. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*