circuitpython/ports
Damien George 38e7b842c6 ports: Implement simple write polling for stdout.
This is a best-effort implementation of write polling.  It's difficult to
do correctly because if there are multiple output streams (eg UART and USB
CDC) then some may not be writeable while others are.  A full solution
should also have a return value from mp_hal_stdout_tx_strn(), returning the
number of bytes written to the stream(s).  That's also hard to define.

The renesas-ra and stm32 ports already implement a similar best-effort
mechanism for write polling.

Fixes issue #11026.

Signed-off-by: Damien George <damien@micropython.org>
2023-03-23 13:51:17 +11:00
..
bare-arm bare-arm/mpconfigport.h: Disable remaining optional features. 2021-11-01 14:23:06 +11:00
cc3200 all: Fix Python comparison to None and True, and use "not in". 2023-03-10 13:32:24 +11:00
embed embed: Fix arguments to mp_raw_code_load_mem. 2023-03-13 12:35:12 +11:00
esp32 ports: Implement simple write polling for stdout. 2023-03-23 13:51:17 +11:00
esp8266 ports: Implement simple write polling for stdout. 2023-03-23 13:51:17 +11:00
mimxrt ports: Implement simple write polling for stdout. 2023-03-23 13:51:17 +11:00
minimal py/gc: Make gc_dump_info/gc_dump_alloc_table take a printer as argument. 2023-03-10 10:58:10 +11:00
nrf ports: Implement simple write polling for stdout. 2023-03-23 13:51:17 +11:00
pic16bit ports: Implement simple write polling for stdout. 2023-03-23 13:51:17 +11:00
powerpc py/gc: Make gc_dump_info/gc_dump_alloc_table take a printer as argument. 2023-03-10 10:58:10 +11:00
qemu-arm shared/runtime/gchelper: Drop cpu directive from ARM asm helpers. 2023-01-28 15:51:38 +11:00
renesas-ra py/gc: Make gc_dump_info/gc_dump_alloc_table take a printer as argument. 2023-03-10 10:58:10 +11:00
rp2 ports: Implement simple write polling for stdout. 2023-03-23 13:51:17 +11:00
samd ports: Implement simple write polling for stdout. 2023-03-23 13:51:17 +11:00
stm32 stm32/boards/NUCLEO_G0B1RE: Add config for USB and mboot. 2023-03-22 16:38:03 +11:00
teensy ports: Implement simple write polling for stdout. 2023-03-23 13:51:17 +11:00
unix py/gc: Make gc_dump_info/gc_dump_alloc_table take a printer as argument. 2023-03-10 10:58:10 +11:00
webassembly webassembly/library: Extract and send data to print as UInt8Array. 2022-12-13 17:16:37 +11:00
windows ports: Make BOARD default from BOARD_DIR in Makefile's. 2023-02-23 09:47:08 +11:00
zephyr py/gc: Make gc_dump_info/gc_dump_alloc_table take a printer as argument. 2023-03-10 10:58:10 +11:00