CONFIG_FS_MGMT_DL_CHUNK_SIZE
Maximum chunk size for file downloads
Type: int
Help
Sets the MAXIMUM size of chunk which will be rounded down to
number of bytes that, with all the required headers, will fit
into MCUMGR_BUF_SIZE. This means that actual value might be lower
then selected, in which case compiler warning will be issued.
Look inside fs_mgmt_config.h for details.
Note that header sizes are affected by FS_MGMT_MAX_OFFSET_LEN.
Direct dependencies
FS_MGMT_DL_CHUNK_SIZE_LIMIT
&& MCUMGR_CMD_FS_MGMT
&& MCUMGR
(Includes any dependencies from ifs and menus.)
Default
Kconfig definition
At <Zephyr>/subsys/mgmt/mcumgr/Kconfig:110
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:44
→ <Zephyr>/subsys/Kconfig:35
→ <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) → Enable setting custom size of download file chunk
config FS_MGMT_DL_CHUNK_SIZE
int "Maximum chunk size for file downloads"
range 65 MCUMGR_BUF_SIZE
default MCUMGR_BUF_SIZE
depends on FS_MGMT_DL_CHUNK_SIZE_LIMIT && MCUMGR_CMD_FS_MGMT && MCUMGR
help
Sets the MAXIMUM size of chunk which will be rounded down to
number of bytes that, with all the required headers, will fit
into MCUMGR_BUF_SIZE. This means that actual value might be lower
then selected, in which case compiler warning will be issued.
Look inside fs_mgmt_config.h for details.
Note that header sizes are affected by FS_MGMT_MAX_OFFSET_LEN.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)