debugprobe icon indicating copy to clipboard operation
debugprobe copied to clipboard

cdc_uart: performance improvements

Open P33M opened this issue 3 years ago • 0 comments

This commit fixes a few deadlock scenarios and makes cdc_task more amenable to being called in a threadable context. Full-duplex is now reliable at fast and slow baudrates.

There is still an annoyance where if the CDC interface is deactivated while the UART RX is still active, buffers queued to the endpoint hardware aren't flushed. This is a tinyUSB interface bug.

Signed-off-by: Jonathan Bell [email protected]

P33M avatar Jun 22 '22 10:06 P33M