summaryrefslogtreecommitdiff
path: root/docs/rp2/tutorial/intro.rst
diff options
context:
space:
mode:
authorAngus Gratton <angus@redyak.com.au>2025-11-06 11:05:09 +1100
committerAngus Gratton <angus@redyak.com.au>2025-11-19 10:21:01 +1100
commit4766f5680e25d608bb4200d01ca414dd503b2e3f (patch)
tree5e93583e8cca49f4d4df0f46152089af3e9ec6d5 /docs/rp2/tutorial/intro.rst
parent8d05a8fc8a78dc6592e87ed5e87616bc01dce37c (diff)
esp32: Fix USB deinit/reinit path via soft reset.HEADorigin/masterorigin/HEADmaster
Fixes problems with USB-CDC state after soft reset if USBDevice has been active with the default USB-CDC driver also enabled. This also brings ESP32 behaviour in line with RP2 and other ports, where boot.py is executed before the runtime USB device is initialised. This allows setting up a custom USB device in boot.py. There is still a bug here, because calling tud_disconnect() doesn't cause any UNPLUG or BUS_RESET events to arrive from TinyUSB - which means the USB device state stays out of sync until we call mp_usbd_init() again... This work was funded through GitHub Sponsors. Signed-off-by: Angus Gratton <angus@redyak.com.au> Signed-off-by: Angus Gratton <angus@redyak.com.au>
Diffstat (limited to 'docs/rp2/tutorial/intro.rst')
0 files changed, 0 insertions, 0 deletions