circuitpython/ports/nrf/drivers/usb
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
..
tusb_config.h nrf: Add tinyusb support for nrf52840. 2019-10-10 20:21:07 +02:00
usb_cdc.c ports: Implement simple write polling for stdout. 2023-03-23 13:51:17 +11:00
usb_cdc.h nrf: Add tinyusb support for nrf52840. 2019-10-10 20:21:07 +02:00
usb_descriptors.c ports: Rename USBD_VID/PID config macros to MICROPY_HW_USB_VID/PID. 2021-08-07 23:13:55 +10:00