This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

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 subsys/mgmt/mcumgr/Kconfig:90

Included via Kconfig:8Kconfig.zephyr:42subsys/Kconfig:35subsys/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.)