The latest development version of this page may be more current than this released 1.14.0 version.
CONFIG_UART_SHELL_ON_DEV_NAME

Device Name of UART Device for SHELL_BACKEND_SERIAL

Type: string

Help

This option specifies the name of UART device to be used for the SHELL UART backend.

Direct dependencies

SHELL_BACKEND_SERIAL && SHELL_BACKENDS && SHELL

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

Defaults

Kconfig definition

At subsys/shell/Kconfig.backends:27

Included via Kconfig:10Kconfig.zephyr:39subsys/Kconfig:26subsys/shell/Kconfig:23

Menu path: (top menu) → Shell Options → Enable shell → Enable shell backends

config UART_SHELL_ON_DEV_NAME
    string
    prompt "Device Name of UART Device for SHELL_BACKEND_SERIAL" if SHELL_BACKEND_SERIAL && SHELL_BACKENDS && SHELL
    default "" if HAS_DTS && SHELL_BACKEND_SERIAL && SHELL_BACKENDS && SHELL
    default "UART_0" if SHELL_BACKEND_SERIAL && SHELL_BACKENDS && SHELL
    depends on SHELL_BACKEND_SERIAL && SHELL_BACKENDS && SHELL
    help
      This option specifies the name of UART device to be used for the
      SHELL UART backend.

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