cdc_uart: performance improvements

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 <jonathan@raspberrypi.com>
1 file changed
tree: 20f12c11377512ea70c3d40b1c562d12810f0401
  1. src/
  2. CMakeLists.txt
  3. pico_sdk_import.cmake
  4. README.md
README.md

Picoprobe

Picoprobe allows a Pico / RP2040 to be used as USB -> SWD and UART bridge. This means it can be used as a debugger and serial console for another Pico.

Documentation

Picoprobe documentation can be found in the Pico Getting Started Guide. See “Appendix A: Using Picoprobe”.