Try custom device descriptors

This commit is contained in:
me-no-dev
2020-06-01 18:09:38 +03:00
parent 93c97aac1c
commit 0df54ea169
4 changed files with 23 additions and 10 deletions

View File

@ -365,14 +365,14 @@
#define CONFIG_USB_MIDI_RX_BUFSIZE 64
#define CONFIG_USB_MIDI_TX_BUFSIZE 64
#define CONFIG_USB_VENDOR_ENABLED 1
#define CONFIG_USB_CUSTOM_CLASS_ENABLED 1
#define CONFIG_USB_DEBUG 1
#define CONFIG_USB_DFU_RT_ENABLED 1
#define CONFIG_USB_NET_ENABLED 1
#define CONFIG_USB_DESC_USE_ESPRESSIF_VID 1
#define CONFIG_USB_DESC_USE_DEFAULT_PID 1
#define CONFIG_USB_DESC_BCDDEVICE 0x0723
#define CONFIG_USB_DESC_BCDDEVICE 0x0100
#define CONFIG_USB_DESC_MANUFACTURER_STRING "Espressif"
#define CONFIG_USB_DESC_PRODUCT_STRING "ESP32-S2"
#define CONFIG_USB_DESC_SERIAL_STRING "0"
#define CONFIG_USB_DESC_PRODUCT_STRING "Espressif Device"
#define CONFIG_USB_DESC_SERIAL_STRING "123456"
#define CONFIG_USB_DESC_CDC_STRING "Espressif CDC Device"
#define CONFIG_USB_DESC_MSC_STRING "Espressif MSC Device"
#define CONFIG_USB_DESC_MIDI_STRING "Espressif MIDI Device"