Add a sample application that demonstrates how to use the new USB-MIDI 2.0 device class. This shows how to set up the device tree, how to exchange MIDI data with the host, and how to use the data accessors provided by the new API. Signed-off-by: Titouan Christophe <moiandme@gmail.com>
12 lines
226 B
Plaintext
12 lines
226 B
Plaintext
CONFIG_USB_DEVICE_STACK_NEXT=y
|
|
CONFIG_USBD_MIDI2_CLASS=y
|
|
|
|
CONFIG_SAMPLE_USBD_PRODUCT="USBD MIDI Sample"
|
|
CONFIG_SAMPLE_USBD_PID=0x0010
|
|
|
|
CONFIG_INPUT=y
|
|
|
|
CONFIG_LOG=y
|
|
CONFIG_USBD_LOG_LEVEL_WRN=y
|
|
CONFIG_UDC_DRIVER_LOG_LEVEL_WRN=y
|