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>
9 lines
195 B
Plaintext
9 lines
195 B
Plaintext
CONFIG_USB=y
|
|
CONFIG_USB_DEVICE_STACK=y
|
|
CONFIG_USB_DEVICE_HID=y
|
|
CONFIG_USB_DEVICE_PRODUCT="Zephyr HID sample"
|
|
|
|
CONFIG_SYS_LOG=y
|
|
CONFIG_SYS_LOG_USB_DRIVER_LEVEL=1
|
|
CONFIG_SYS_LOG_USB_DEVICE_LEVEL=1
|