Each USB sample, when compiled, will provide a different USB product string. A "nice to have" feature when trying out the USB samples (they will show up differently in `lsusb` or `dmesg`), and also illustrates how to set up custom USB constants in the config files. Requires #6589. Signed-off-by: Iván Sánchez Ortega <ivan@sanchezortega.es>
8 lines
188 B
Plaintext
8 lines
188 B
Plaintext
CONFIG_GPIO=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_DEVICE_STACK=y
|
|
CONFIG_USB_DEVICE_PRODUCT="Zephyr USB console sample"
|
|
CONFIG_USB_UART_CONSOLE=y
|
|
CONFIG_UART_INTERRUPT_DRIVEN=y
|
|
CONFIG_UART_LINE_CTRL=y
|