Functionality to enable the RP-series microcontroller to be reset over the USB interface.
Functionality to enable the RP-series microcontroller to be reset over the USB interface.
This library can be used to enable the RP-series microcontroller to be reset over the USB interface.
This functionality is included by default when using the pico_stdio_usb library and not using TinyUSB directly.
To add this functionality to a project using TinyUSB directly, you need to:
pico/usb_reset.h header file where needed.TUD_RPI_RESET_DESCRIPTOR(<ITF_NUM>, <STR_IDX>) to your USB descriptors (length is TUD_RPI_RESET_DESC_LEN)usbd_app_driver_get_cb function:usb_reset_interface_driver to the drivers returnedpico_stdio_usb library, you need to define PICO_USB_RESET_INCLUDE_DEFAULT_APP_DRIVER_CB=1RPI_RESET_MS_OS_20_DESCRIPTOR(<ITF_NUM>) to your Microsoft OS 2.0 Descriptor (length is RPI_RESET_MS_OS_20_DESC_LEN)PICO_USB_RESET_SUPPORT_MS_OS_20_DESCRIPTOR=1 and PICO_USB_RESET_MS_OS_20_DESCRIPTOR_ITF=<ITF_NUM>