:orphan: .. title:: CONFIG_FS_MGMT_DL_CHUNK_SIZE .. kconfig:: CONFIG_FS_MGMT_DL_CHUNK_SIZE CONFIG_FS_MGMT_DL_CHUNK_SIZE ############################ *Maximum chunk size for file downloads* Type: ``int`` Help ==== .. code-block:: none 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 =================== \ :kconfig:`FS_MGMT_DL_CHUNK_SIZE_LIMIT ` && \ :kconfig:`MCUMGR_CMD_FS_MGMT ` && \ :kconfig:`MCUMGR ` *(Includes any dependencies from ifs and menus.)* Default ======= - \ :kconfig:`MCUMGR_BUF_SIZE ` Kconfig definition ================== At ``/mgmt/mcumgr/Kconfig:102`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:35`` → ``/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 .. code-block:: kconfig 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.)*