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

SERIAL && CONSOLE

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

Defaults

No defaults. Implicitly defaults to n.

Symbols selected by this symbol

Kconfig definition

At drivers/console/Kconfig:82

Included via Kconfig:10Kconfig.zephyr:29drivers/Kconfig:16

Menu path: (top menu) → Device Drivers → Console drivers

config USB_UART_CONSOLE
    bool
    prompt "Use USB port for console outputs" if SERIAL && CONSOLE
    select CONSOLE_HAS_DRIVER if SERIAL && CONSOLE
    select USB_CDC_ACM if SERIAL && CONSOLE
    depends on SERIAL && 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.

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