:orphan: .. title:: choice FS_MGMT_MAX_FILE_SIZE: Maximum file size that could be uploaded/downloaded .. _choice_450: .. describe:: choice FS_MGMT_MAX_FILE_SIZE: Maximum file size that could be uploaded/downloaded *Maximum file size that could be uploaded/downloaded* Type: ``bool`` Help ==== .. code-block:: none Maximum file size that will be allowed to be downloaded from device. This option decides on number of bytes that are reserved in CBOR frame for storage of offset/size of file downloaded. Direct dependencies =================== \ :kconfig:`MCUMGR_CMD_FS_MGMT ` && \ :kconfig:`MCUMGR ` *(Includes any dependencies from ifs and menus.)* Default ======= - \ :kconfig:`FS_MGMT_MAX_FILE_SIZE_64KB ` Choice options ============== - \ :kconfig:`FS_MGMT_MAX_FILE_SIZE_64KB ` - \ :kconfig:`FS_MGMT_MAX_FILE_SIZE_4GB ` Kconfig definition ================== At ``/mgmt/mcumgr/Kconfig:55`` 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) .. code-block:: kconfig choice FS_MGMT_MAX_FILE_SIZE bool "Maximum file size that could be uploaded/downloaded" default FS_MGMT_MAX_FILE_SIZE_64KB depends on MCUMGR_CMD_FS_MGMT && MCUMGR help Maximum file size that will be allowed to be downloaded from device. This option decides on number of bytes that are reserved in CBOR frame for storage of offset/size of file downloaded. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*