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_USB_UART_CONSOLE

Use USB port for console outputs

Type: bool

Help

Enable this option to use the USB CDC ACM class for console.
As for the console driver, this option only changes the initialization
level.

Direct dependencies

(USB_DEVICE_STACK && BOARD_BL654_USB) || (USB_DEVICE_STACK && BOARD_DEGU_EVK) || CONSOLE

(Includes any dependencies from ifs and menus.)

Defaults

  • y

  • y

Symbols selected by this symbol

Symbols that select this symbol

Kconfig definitions

At boards/arm/bl654_usb/Kconfig.defconfig:28

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config USB_UART_CONSOLE
    bool
    default y
    depends on USB_DEVICE_STACK && BOARD_BL654_USB

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

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config USB_UART_CONSOLE
    bool
    default y
    depends on USB_DEVICE_STACK && BOARD_DEGU_EVK

At drivers/console/Kconfig:92

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

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

config USB_UART_CONSOLE
    bool "Use USB port for console outputs"
    select UART_CONSOLE
    select USB_CDC_ACM
    depends on CONSOLE
    help
      Enable this option to use the USB CDC ACM class for console.
      As for the console driver, this option only changes the initialization
      level.

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