diff options
| author | Daniël van de Giessen <daniel@dvdgiessen.nl> | 2023-08-25 15:40:46 +0200 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2023-10-31 11:59:15 +1100 |
| commit | f74131134c7af52638348c65ecf1be5e769a5f4b (patch) | |
| tree | 63d6f042dda50f51377f1a079cda7ae707ae4992 /py | |
| parent | 1cf3085c575095f7f027171759f112033b4060af (diff) | |
esp32: Poll serial/JTAG for unread data to prevent blocking.
If data is pushed over serial/JTAG too fast we may fill up stdin_ringbuf
and not be able to read all the data out of the serial/JTAG buffer. Thus
we need to explicitly poll and read the serial/JTAG RX buffer to prevent
blocking (since if the serial/JTAG buffer is already filled, we will not
get another interrupt to transfer it to the stdin ringbuffer).
Signed-off-by: Daniël van de Giessen <daniel@dvdgiessen.nl>
Diffstat (limited to 'py')
0 files changed, 0 insertions, 0 deletions
