Commit Graph

2 Commits

Author SHA1 Message Date
Angus Gratton
2762fe680a tests/serial_test.py: Allow up to 2 seconds between bytes.
Only a problem when UART TX is also enabled and goes first (i.e. esp32
port) as sending 16384 bytes in one go triggers the timeout.

This work was funded through GitHub Sponsors.

Signed-off-by: Angus Gratton <angus@redyak.com.au>
2025-11-06 12:26:43 +11:00
Damien George
7ef47ef98d tests/serial_test.py: Add test for serial throughput.
This is a test script used to test USB CDC (or USB UART) serial reliability
and throughput.

Run against any MicroPython remote target with:

    $ python serial_test.py -t <device>

Signed-off-by: Damien George <damien@micropython.org>
2025-10-02 11:36:48 +10:00