Skip to content

Commit 9722214

Browse files
finikorgcarlescufi
authored andcommitted
samples: usb: console: Select console device name
Instead of relying on overlays which requires to write overlay for every board (100+) define console device name. Fixes #14698 Signed-off-by: Andrei Emeltchenko <[email protected]>
1 parent de17b27 commit 9722214

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

samples/subsys/usb/console/prj.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
CONFIG_GPIO=y
2+
23
CONFIG_USB=y
34
CONFIG_USB_DEVICE_STACK=y
45
CONFIG_USB_DEVICE_PRODUCT="Zephyr USB console sample"
56
CONFIG_USB_UART_CONSOLE=y
7+
68
CONFIG_UART_INTERRUPT_DRIVEN=y
79
CONFIG_UART_LINE_CTRL=y
10+
CONFIG_UART_CONSOLE_ON_DEV_NAME="CDC_ACM_0"

0 commit comments

Comments
 (0)