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

MCUMGR_CMD_FS_MGMT && MCUMGR

(Includes any dependencies from ifs and menus.)

Kconfig definition

At <Zephyr>/subsys/mgmt/mcumgr/Kconfig:47

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:32<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)

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.)