PythonExtra/ports/nrf/modules
Damien George 5b4a2baff6 extmod/machine_uart: Factor ports' UART Python bindings to common code.
This is a code factoring to have the Python bindings in one location, and
all the ports use those same bindings.  For all ports except the two listed
below there is no functional change.

The nrf port has UART.sendbreak() removed, but this method previously did
nothing.

The zephyr port has the following methods added:
- UART.init(): supports setting timeout and timeout_char.
- UART.deinit(): does nothing, just returns None.
- UART.flush(): raises OSError(EINVAL) because it's not implemented.
- UART.any() and UART.txdone(): raise NotImplementedError.

Signed-off-by: Damien George <damien@micropython.org>
2023-10-26 10:46:42 +11:00
..
ble all: Remove third argument to MP_REGISTER_MODULE. 2022-06-02 16:31:37 +10:00
board py/obj: Convert make_new into a mp_obj_type_t slot. 2022-09-19 19:06:15 +10:00
machine extmod/machine_uart: Factor ports' UART Python bindings to common code. 2023-10-26 10:46:42 +11:00
music nrf: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:50:34 +10:00
nrf py/obj: Convert make_new into a mp_obj_type_t slot. 2022-09-19 19:06:15 +10:00
os extmod/machine_uart: Factor ports' UART Python bindings to common code. 2023-10-26 10:46:42 +11:00
scripts all: Replace all uses of umodule in Python code. 2023-06-08 17:54:24 +10:00
ubluepy all: Fix spelling mistakes based on codespell check. 2023-04-27 18:03:06 +10:00
manifest.py extmod/asyncio: Rename uasyncio to asyncio. 2023-06-19 17:33:03 +10:00