:orphan: .. title:: CONFIG_IMG_MGMT_UL_CHUNK_SIZE .. kconfig:: CONFIG_IMG_MGMT_UL_CHUNK_SIZE CONFIG_IMG_MGMT_UL_CHUNK_SIZE ############################# *Maximum chunk size for image uploads* Type: ``int`` Help ==== .. code-block:: none 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 =================== \ :kconfig:`MCUMGR_CMD_IMG_MGMT ` && \ :kconfig:`MCUMGR_CMD_IMG_MGMT ` && \ :kconfig:`MCUMGR ` *(Includes any dependencies from ifs and menus.)* Default ======= - 512 Kconfig definition ================== At ``/mgmt/mcumgr/Kconfig:150`` 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_UL_CHUNK_SIZE int "Maximum chunk size for image uploads" default 512 depends on MCUMGR_CMD_IMG_MGMT && 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. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*