The latest development version of this page may be more current than this released 2.3.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

(USB && BOARD_DEGU_EVK) || (SHELL_BACKEND_SERIAL && SHELL_BACKENDS && SHELL)

(Includes any dependencies from ifs and menus.)

Defaults

  • “CDC_ACM_0”

  • “” if HAS_DTS

  • “UART_0”

Kconfig definitions

At boards/arm/degu_evk/Kconfig.defconfig:34

Included via Kconfig:8Kconfig.zephyr:24

Menu path: (Top)

config UART_SHELL_ON_DEV_NAME
    string
    default "CDC_ACM_0"
    depends on USB && BOARD_DEGU_EVK

At subsys/shell/Kconfig.backends:33

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

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

config UART_SHELL_ON_DEV_NAME
    string "Device Name of UART Device for SHELL_BACKEND_SERIAL"
    default "" if HAS_DTS
    default "UART_0"
    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.

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