CONFIG_SHELL_BACKEND_SERIAL_RX_RING_BUFFER_SIZE

Set RX ring buffer size

Type: int

Help

RX ring buffer size impacts accepted latency of handling incoming bytes by shell. If shell input is coming from the keyboard then it is usually enough if ring buffer is few bytes (more than one due to escape sequences). However, if bulk data is transferred it may be required to increase it.

Direct dependencies

SHELL_BACKEND_SERIAL && SHELL_BACKENDS && SHELL

(Includes any dependencies from ifs and menus.)

Default

  • 64

Kconfig definition

At subsys/shell/Kconfig.backends:56

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:24subsys/shell/Kconfig:18

Menu path: (Top) → Shell → Enable shell backends → Enable serial backend

config SHELL_BACKEND_SERIAL_RX_RING_BUFFER_SIZE
    int "Set RX ring buffer size"
    default 64
    depends on SHELL_BACKEND_SERIAL && SHELL_BACKENDS && SHELL
    help
      RX ring buffer size impacts accepted latency of handling incoming
      bytes by shell. If shell input is coming from the keyboard then it is
      usually enough if ring buffer is few bytes (more than one due to
      escape sequences). However, if bulk data is transferred it may be
      required to increase it.

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