CONFIG_FS_MGMT_UL_CHUNK_SIZE

Maximum chunk size for file uploads

Type: int

Help

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

Direct dependencies

MCUMGR_CMD_FS_MGMT && MCUMGR

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

Defaults

Kconfig definition

At ext/lib/mgmt/mcumgr/cmd/fs_mgmt/Kconfig:25

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

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

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

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