CONFIG_FS_MGMT_DL_CHUNK_SIZE

Maximum chunk size for file downloads

Type: int

Help

Limits the maximum chunk size for file downloads, in bytes. A buffer of this size gets allocated on the stack during handling of a file download 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:32

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

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

config FS_MGMT_DL_CHUNK_SIZE
    int
    prompt "Maximum chunk size for file downloads" 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 downloads, in bytes.  A buffer of
      this size gets allocated on the stack during handling of a file download
      command.

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