This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_FS_MGMT_UL_CHUNK_SIZE

Maximum chunk size for file uploads

Type: int

Help

Limits the maximum chunk size for file uploads, in bytes.  A buffer of
this size gets allocated on the stack during handling of a file upload command.

Direct dependencies

MCUMGR_CMD_FS_MGMT && MCUMGR

(Includes any dependencies from ifs and menus.)

Default

  • 512

Kconfig definition

At subsys/mgmt/mcumgr/Kconfig:83

Included via Kconfig:8Kconfig.zephyr:42subsys/Kconfig:35subsys/mgmt/Kconfig:9

Menu path: (Top) → Sub Systems and OS Services → Device Management → mcumgr Support → Command Handlers → Enable mcumgr handlers for file management (insecure)

config FS_MGMT_UL_CHUNK_SIZE
    int "Maximum chunk size for file uploads"
    default 512
    depends on MCUMGR_CMD_FS_MGMT && MCUMGR
    help
      Limits the maximum chunk size for file uploads, in bytes.  A buffer of
      this size gets allocated on the stack during handling of a file upload command.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)