:orphan: .. title:: choice FS_MGMT_MAX_FILE_SIZE: Maximum file size that could be uploaded/downloaded .. _choice_377: .. 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 ==== 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 =================== \ :option:`MCUMGR_CMD_FS_MGMT ` && \ :option:`MCUMGR ` *(Includes any dependencies from ifs and menus.)* Default ======= - \ :option:`FS_MGMT_MAX_FILE_SIZE_64KB ` Choice options ============== - \ :option:`FS_MGMT_MAX_FILE_SIZE_64KB ` - \ :option:`FS_MGMT_MAX_FILE_SIZE_4GB ` Kconfig definition ================== .. highlight:: kconfig At ``subsys/mgmt/mcumgr/Kconfig:47`` 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) .. parsed-literal:: choice FS_MGMT_MAX_FILE_SIZE bool "Maximum file size that could be uploaded/downloaded" default \ :option:`FS_MGMT_MAX_FILE_SIZE_64KB ` depends on \ :option:`MCUMGR_CMD_FS_MGMT ` && \ :option:`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.)*