CONFIG_LOG_MGMT_CHUNK_LEN

Maximum chunk size for log downloads

Type: int

Help

Limits the maximum chunk size for log downloads, in bytes. A buffer of this size gets allocated on the stack during handling of the log show command.

Direct dependencies

MCUMGR_CMD_LOG_MGMT && MCUMGR

(Includes any dependencies from ifs and menus.)

Default

  • 512

Kconfig definition

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

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 log management

config LOG_MGMT_CHUNK_LEN
    int "Maximum chunk size for log downloads"
    default 512
    depends on MCUMGR_CMD_LOG_MGMT && MCUMGR
    help
      Limits the maximum chunk size for log downloads, in bytes.  A buffer of
      this size gets allocated on the stack during handling of the log show
      command.

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