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. In case when DTS is enabled (HAS_DTS), the default value is set from DTS chosen node ‘zephyr,shell-uart’ but can be overridden here.

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 <Zephyr>/boards/arm/degu_evk/Kconfig.defconfig:34

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:18

Menu path: (Top)

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

At <Zephyr>/subsys/shell/Kconfig.backends:41

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:41<Zephyr>/subsys/shell/Kconfig:18

Menu path: (Top) → Sub Systems and OS Services → 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.
      In case when DTS is enabled (HAS_DTS), the default value is
      set from DTS chosen node 'zephyr,shell-uart' but can be overridden
      here.

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