The latest development version of this page may be more current than this released 1.14.1 version.
CONFIG_IMG_MGMT_UL_CHUNK_SIZE

Maximum chunk size for image uploads

Type: int

Help

Limits the maximum chunk size for image uploads, in bytes. A buffer of this size gets allocated on the stack during handling of a image upload command.

Direct dependencies

MCUMGR_CMD_IMG_MGMT && MCUMGR

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At ext/lib/mgmt/mcumgr/cmd/img_mgmt/Kconfig:27

Included via Kconfig:10Kconfig.zephyr:41ext/Kconfig:19ext/lib/mgmt/Kconfig:22ext/lib/mgmt/mcumgr/Kconfig:25ext/lib/mgmt/mcumgr/cmd/Kconfig:21

Menu path: (top menu) → External Sources → Management → Command handlers → Enable mcumgr handlers for image management

config IMG_MGMT_UL_CHUNK_SIZE
    int
    prompt "Maximum chunk size for image uploads" if MCUMGR_CMD_IMG_MGMT && MCUMGR
    default 512 if MCUMGR_CMD_IMG_MGMT && MCUMGR
    depends on MCUMGR_CMD_IMG_MGMT && MCUMGR
    help
      Limits the maximum chunk size for image uploads, in bytes.  A buffer of
      this size gets allocated on the stack during handling of a image upload
      command.

(Definitions include propagated dependencies, including from if’s and menus.)