Commit 40d1674
committed
usbd: Implement USB-CDC serial class.
This is a squash of commits from branch feature/usbd_python_cdc which
includes an initial implementation by @hoihu and bug fixes from @linted.
Includes:
- Some usbd device behaviour changes to manage transfers.
- A new reader/writer "Buffer" class designed for providing buffered data
to/from TinyUSB.
- cdc_example.py opens a REPL on the dynamic USB CDC interface.
- cdc_rate_benchmark.py is an update of the original PyBoard VCP benchmark
code.
Parts of this work was funded through GitHub Sponsors.
Signed-off-by: Angus Gratton <angus@redyak.com.au>1 parent 960000b commit 40d1674
File tree
8 files changed
+1027
-9
lines changed- micropython/usbd
8 files changed
+1027
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
0 commit comments