CONFIG_UART_MCUMGR_RX_BUF_COUNT

Number of receive buffers for mcumgr fragments received over UART

Type: int

Help

Specifies the number of the mcumgr UART receive buffers.  Receive
buffers hold received mcumgr fragments prior to reassembly.  This
setting's value must satisfy the following relation:
UART_MCUMGR_RX_BUF_COUNT * UART_MCUMGR_RX_BUF_SIZE >=
MCUMGR_SMP_UART_MTU

Direct dependencies

UART_MCUMGR && CONSOLE

(Includes any dependencies from ifs and menus.)

Default

  • 2

Kconfig definition

At <Zephyr>/drivers/console/Kconfig:233

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:42<Zephyr>/drivers/Kconfig:14

Menu path: (Top) → Device Drivers → Console drivers → Enable mcumgr UART driver

config UART_MCUMGR_RX_BUF_COUNT
    int "Number of receive buffers for mcumgr fragments received over UART"
    default 2
    depends on UART_MCUMGR && CONSOLE
    help
      Specifies the number of the mcumgr UART receive buffers.  Receive
      buffers hold received mcumgr fragments prior to reassembly.  This
      setting's value must satisfy the following relation:
      UART_MCUMGR_RX_BUF_COUNT * UART_MCUMGR_RX_BUF_SIZE >=
      MCUMGR_SMP_UART_MTU

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