:orphan: .. title:: FS_MGMT_DL_CHUNK_SIZE .. option:: 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 =================== \ :option:`FS_MGMT_DL_CHUNK_SIZE_LIMIT ` && \ :option:`MCUMGR_CMD_FS_MGMT ` && \ :option:`MCUMGR ` *(Includes any dependencies from ifs and menus.)* Default ======= - \ :option:`MCUMGR_BUF_SIZE ` Kconfig definition ================== .. highlight:: kconfig At ``subsys/mgmt/mcumgr/Kconfig:102`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:34`` → ``subsys/Kconfig:35`` → ``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 .. parsed-literal:: config FS_MGMT_DL_CHUNK_SIZE int "Maximum chunk size for file downloads" range 65 \ :option:`MCUMGR_BUF_SIZE ` default \ :option:`MCUMGR_BUF_SIZE ` depends on \ :option:`FS_MGMT_DL_CHUNK_SIZE_LIMIT ` && \ :option:`MCUMGR_CMD_FS_MGMT ` && \ :option:`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.)*