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

console_getchar() buffer size

Type: int

Help

Buffer size for console_getchar(). The default is optimized to save RAM. You may need to increase it e.g. to support large host-side clipboard pastes. Set to 0 to disable interrupt-driven operation and use busy-polling.

Direct dependencies

CONSOLE_GETCHAR && CONSOLE_SUBSYS

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At subsys/console/Kconfig:32

Included via Kconfig:10Kconfig.zephyr:39subsys/Kconfig:10

Menu path: (top menu) → Console

config CONSOLE_GETCHAR_BUFSIZE
    int
    prompt "console_getchar() buffer size" if CONSOLE_GETCHAR && CONSOLE_SUBSYS
    default 16 if CONSOLE_GETCHAR && CONSOLE_SUBSYS
    depends on CONSOLE_GETCHAR && CONSOLE_SUBSYS
    help
      Buffer size for console_getchar(). The default is optimized
      to save RAM. You may need to increase it e.g. to support
      large host-side clipboard pastes. Set to 0 to disable
      interrupt-driven operation and use busy-polling.

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