circuitpython/ports/nrf/drivers/bluetooth
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
..
ble_drv.c nrf/drivers/bluetooth: Handle PHY_UPDATE messages, used in Bluetooth 5. 2022-07-16 23:46:30 +10:00
ble_drv.h nrf/bluetooth: Add support for s132/s140 v6, remove s132 v2/3/5 2018-07-18 17:12:26 +10:00
ble_uart.c ports: Implement simple write polling for stdout. 2023-03-23 13:51:17 +11:00
ble_uart.h nrf: Add new port to Nordic nRF5x MCUs. 2018-07-18 17:12:25 +10:00
bluetooth_common.mk nrf/bluetooth: Add support for s132/s140 v6, remove s132 v2/3/5 2018-07-18 17:12:26 +10:00
download_ble_stack.sh nrf/boards/seeed_xiao_nrf52: Add defn for Seeed XIAO NRF52840 Sense. 2022-12-15 14:27:08 +11:00
ringbuffer.h nrf: Add new port to Nordic nRF5x MCUs. 2018-07-18 17:12:25 +10:00