forked from espressif/arduino-esp32
Try custom device descriptors
This commit is contained in:
@ -89,6 +89,14 @@ extern "C" {
|
||||
# define CONFIG_USB_CUSTOM_CLASS_ENABLED 0
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_USB_DFU_RT_ENABLED
|
||||
# define CONFIG_USB_DFU_RT_ENABLED 0
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_USB_NET_ENABLED
|
||||
# define CONFIG_USB_NET_ENABLED 0
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_USB_VENDOR_ENABLED
|
||||
# define CONFIG_USB_VENDOR_ENABLED 0
|
||||
#endif
|
||||
@ -97,6 +105,8 @@ extern "C" {
|
||||
#define CFG_TUD_CDC CONFIG_USB_CDC_ENABLED
|
||||
#define CFG_TUD_MSC CONFIG_USB_MSC_ENABLED
|
||||
#define CFG_TUD_HID CONFIG_USB_HID_ENABLED
|
||||
#define CFG_TUD_DFU_RT CONFIG_USB_DFU_RT_ENABLED
|
||||
#define CFG_TUD_NET CONFIG_USB_NET_ENABLED
|
||||
|
||||
#define CFG_TUD_MIDI CONFIG_USB_MIDI_ENABLED
|
||||
#define CFG_TUD_CUSTOM_CLASS CONFIG_USB_CUSTOM_CLASS_ENABLED
|
||||
|
Reference in New Issue
Block a user