This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_CONSOLE_HANDLER

Enable console input handler

Type: bool

Help

This option enables console input handler allowing to write simple
interaction between serial console and the OS.

Direct dependencies

UART_CONSOLE && SERIAL_SUPPORT_INTERRUPT && CONSOLE

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Symbols selected by this symbol

Symbols that select this symbol

Kconfig definition

At drivers/console/Kconfig:27

Included via Kconfig:8Kconfig.zephyr:42drivers/Kconfig:14

Menu path: (Top) → Device Drivers → Console drivers

config CONSOLE_HANDLER
    bool "Enable console input handler"
    select UART_INTERRUPT_DRIVEN
    depends on UART_CONSOLE && SERIAL_SUPPORT_INTERRUPT && CONSOLE
    help
      This option enables console input handler allowing to write simple
      interaction between serial console and the OS.

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