CONFIG_IMG_MGMT_DIRECT_IMAGE_UPLOAD
Allow direct image upload
Type: bool
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.
Direct dependencies
(Includes any dependencies from ifs and menus.)
Defaults
No defaults. Implicitly defaults to n
.
Kconfig definition
At <Zephyr>/subsys/mgmt/mcumgr/Kconfig:190
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:44
→ <Zephyr>/subsys/Kconfig:35
→ <Zephyr>/subsys/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_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.)