Closed johnboiles closed 1 year ago
@johnboiles thank you very much for the PR, we will review ASAP
Done!
Thank you very much @johnboiles ! Merged.
We will release new version of esp_tinyusb
after we implement a quick fix for this issue: https://github.com/espressif/idf-extra-components/issues/217
Woohoo! Thanks @tore-espressif !
This makes it possible for user code to work around the bug where the USB/JTAG interface cannot be re-initialized after calling
tinyusb_driver_install
even if the chip is restarted withesp_restart
(https://github.com/espressif/esp-idf/issues/9826#issuecomment-1694089147).Currently user code cannot do this without a modification to
tinyusb.c
since there's no way to accessstatic usb_phy_handle_t phy_hdl;
outside of that file.With this change, user code can run the following to deactivate TinyUSB and bring back the USB/JTAG interface.