circuitpython/ports/nrf/drivers
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
..
bluetooth ports: Implement simple write polling for stdout. 2023-03-23 13:51:17 +11:00
secureboot nrf: Add nrf9160 base support. 2019-10-10 21:35:27 +02:00
usb ports: Implement simple write polling for stdout. 2023-03-23 13:51:17 +11:00
flash.c nrf/drivers: Add support for using flash block device with SoftDevice. 2021-08-08 23:09:26 +10:00
flash.h nrf: Add nrf9160 base support. 2019-10-10 21:35:27 +02:00
rng.c nrf: Update to work with nrfx v2.0.0, to match TinyUSB. 2020-05-15 15:06:02 +10:00
rng.h nrf: Remove custom "random" module and use extmod version instead. 2020-02-18 12:43:16 +11:00
softpwm.c nrf: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:50:34 +10:00
softpwm.h nrf/drivers: Add license text to ticker.h and softpwm.h. 2018-07-18 17:12:26 +10:00
ticker.c nrf/ticker: Remove duplicate NRFX_IRQ_PRIORITY_SET. 2019-01-31 17:50:10 +11:00
ticker.h nrf: Clean up source by removing tabs, trailing spaces, non-ASCII chars. 2019-08-28 13:34:45 +10:00