usb/cdc: fix RP2 USB CDC TX race with cores scheduler (#5391)

* usb/cdc: serialize TX pump across cores

* usb/cdc: apply review suggestion

* Clarify TX pump loop comment

* clarify txActive comments

* usb/cdc: document txActive ownership and lost-wakeup recheck

* builder: update wioterminal size expectation

---------

Co-authored-by: rdon <you@example.com>
This commit is contained in:
あーるどん
2026-06-08 20:58:19 +09:00
committed by GitHub
parent 45dd431f19
commit d9d19e812e
2 changed files with 58 additions and 20 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ func TestBinarySize(t *testing.T) {
// microcontrollers
{"hifive1b", "examples/echo", 3817, 299, 0, 2252},
{"microbit", "examples/serial", 2820, 356, 8, 2248},
{"wioterminal", "examples/pininterrupt", 7930, 1650, 132, 7472},
{"wioterminal", "examples/pininterrupt", 8036, 1652, 132, 7480},
// TODO: also check wasm. Right now this is difficult, because
// wasm binaries are run through wasm-opt and therefore the