Skip to content

Commit 393908a

Browse files
committed
docs: Add test results for USB-CDC bulk operations.
Document comprehensive test results showing 631 tests passed with 17,492 individual testcases verified on Raspberry Pi Pico with optimized firmware. Results confirm: - No regressions from bulk operations implementation - Keyboard interrupt handling works correctly - stdin/stdout operations function properly over USB-CDC Signed-off-by: Andrew Leech <[email protected]>
1 parent 29c7faf commit 393908a

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

docs/stdin_serial_analysis.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -811,3 +811,23 @@ The bulk USB-CDC optimization successfully removes the device-side bottleneck. F
811811
- End-to-end stdin throughput: Still limited by protocol flow control (~20 KB/s baseline unchanged)
812812

813813
The optimization is valuable for future protocol improvements and already benefits scenarios where the device processes stdin_ringbuf data faster than the host sends it (reduces USB IRQ overhead).
814+
815+
### Testing Results
816+
817+
Comprehensive test suite run on Raspberry Pi Pico with optimized firmware:
818+
819+
**Test Summary:**
820+
- **Basics tests:** 536/536 passed (16,779 individual testcases)
821+
- **MicroPython tests:** 95/95 passed (713 individual testcases)
822+
- **Keyboard interrupt test:** PASSED (micropython/kbd_intr.py)
823+
824+
**Total:** 631 tests passed with 17,492 individual testcases verified
825+
826+
**Known failures (unrelated to USB-CDC changes):**
827+
- io/file_stdio*.py tests fail due to `fileno()` not being implemented on RP2 port
828+
829+
The test results confirm:
830+
- stdin/stdout operations function correctly over USB-CDC
831+
- Keyboard interrupt handling (Ctrl-C) works as expected with bulk operations
832+
- No regressions introduced by the optimization
833+
- All core Python functionality operates correctly with the new implementation

0 commit comments

Comments
 (0)