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 if’s and menus.)

Defaults

Kconfig definition

At ext/lib/mgmt/mcumgr/cmd/fs_mgmt/Kconfig:40

Included via Kconfig:10Kconfig.zephyr:37ext/Kconfig:19ext/lib/mgmt/Kconfig:22ext/lib/mgmt/mcumgr/Kconfig:25ext/lib/mgmt/mcumgr/cmd/Kconfig:20

Menu path: (top menu) → External Sources → Management → Command handlers → Enable mcumgr handlers for file management

config FS_MGMT_PATH_SIZE
    int
    prompt "Maximum file path length" if MCUMGR_CMD_FS_MGMT && MCUMGR
    default 64 if MCUMGR_CMD_FS_MGMT && MCUMGR
    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.

(Definitions include propagated dependencies, including from if’s and menus.)