This is the documentation for the latest (master) 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 UART for console output. The output can be viewed from the USB host via /dev/ttyACM* port. Note that console inputs from the USB UART are not functional yet. Also since the USB layer currently doesn’t support multiple interfaces, this shouldn’t be selected in conjunction with, say, USB Mass Storage.

Direct dependencies

(USB && BOARD_DEGU_EVK) || CONSOLE

(Includes any dependencies from ifs and menus.)

Default

  • y

Symbols selected by this symbol

Symbols that select this symbol

Kconfig definitions

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

Included via Kconfig:8Kconfig.zephyr:18

Menu path: (Top)

config USB_UART_CONSOLE
    bool
    default y
    depends on USB && BOARD_DEGU_EVK

At drivers/console/Kconfig:84

Included via Kconfig:8Kconfig.zephyr:32drivers/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 UART for console output. The output
      can be viewed from the USB host via /dev/ttyACM* port. Note that console
      inputs from the USB UART are not functional yet. Also since the USB
      layer currently doesn't support multiple interfaces, this shouldn't be
      selected in conjunction with, say, USB Mass Storage.

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