TinyUSB Configuration Descriptors
Posted: Tue Jun 14, 2022 5:02 pm
I have been playing around with the example on how to define a custom descriptor. I have managed to change the Device Descriptor to the info I wanted. Thanks again for this sample code.
However, how do I change the Configuration Descriptor? I see tusb_desc_configuration_t in the tusb_types.h file. When I look here:
https://docs.espressif.com/projects/esp ... evice.html (look under Structures)
I see the tinyusb_config_t struct which is good. I used it to change my string descriptor and the device descriptor. The doc does say there is member for a configuration descriptor. However, when I look inside of tinusb.h, there is no member. Has it been implemented or perhaps moved?
However, how do I change the Configuration Descriptor? I see tusb_desc_configuration_t in the tusb_types.h file. When I look here:
https://docs.espressif.com/projects/esp ... evice.html (look under Structures)
I see the tinyusb_config_t struct which is good. I used it to change my string descriptor and the device descriptor. The doc does say there is member for a configuration descriptor. However, when I look inside of tinusb.h, there is no member. Has it been implemented or perhaps moved?