Files
micropython/shared
Andrew Leech 8d3597ca50 shared/tinyusb: Fix CDC reconnect stall and TX FIFO.
When a host closes and reopens the CDC serial port, the IN endpoint may
remain stalled from a prior runtime USB disconnect (e.g. mpremote
connect/disconnect cycles). Clear the stall on DTR high so the
connection recovers without requiring a device reset.

On DTR low (host close), flush the TX FIFO so stale data does not
accumulate and block writes on the next connection.

Signed-off-by: Andrew Leech <andrew.leech@planetinnovation.com.au>
2026-05-08 02:20:46 +10:00
..

This directory contains libraries, utilities and helper code developed specifically for this project. The code is intended to be portable and usable by any port.