CONFIG_FS_MGMT_DL_CHUNK_SIZE_LIMIT

Enable setting custom size of download file chunk

Type: bool

Help

By default file chunk, that will be read off storage and fit into mcumgr frame, is automatically calculated to fit into buffer of size MCUGMR_BUF_SIZE with all headers. Enabling this option allows to set MAXIMUM value that will be allowed for such chunk. Look inside fs_mgmt_config.h for details.

Direct dependencies

MCUMGR_CMD_FS_MGMT && MCUMGR

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At <Zephyr>/subsys/mgmt/mcumgr/Kconfig:90

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:32<Zephyr>/subsys/mgmt/Kconfig:9

Menu path: (Top) → Sub Systems and OS Services → Device Management → mcumgr Support → Command Handlers → Enable mcumgr handlers for file management (insecure)

config FS_MGMT_DL_CHUNK_SIZE_LIMIT
    bool "Enable setting custom size of download file chunk"
    depends on MCUMGR_CMD_FS_MGMT && MCUMGR
    help
      By default file chunk, that will be read off storage and fit into
      mcumgr frame, is automatically calculated to fit into buffer
      of size MCUGMR_BUF_SIZE with all headers.
      Enabling this option allows to set MAXIMUM value that will be
      allowed for such chunk.
      Look inside fs_mgmt_config.h for details.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)