The latest development version of this page may be more current than this released 2.7.5 version.

CONFIG_FS_MGMT_PATH_SIZE

Maximum file path length

Type: int

Help

Limits the maximum path length for file operations, in bytes.  A buffer
of this size gets allocated on the stack during handling of file upload
and download commands.

Direct dependencies

MCUMGR_CMD_FS_MGMT && MCUMGR

(Includes any dependencies from ifs and menus.)

Default

  • 64

Kconfig definition

At subsys/mgmt/mcumgr/Kconfig:117

Included via Kconfig:8Kconfig.zephyr:44subsys/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_PATH_SIZE
    int "Maximum file path length"
    default 64
    depends on MCUMGR_CMD_FS_MGMT && MCUMGR
    help
      Limits the maximum path length for file operations, in bytes.  A buffer
      of this size gets allocated on the stack during handling of file upload
      and download commands.

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