summaryrefslogtreecommitdiffstatshomepage
path: root/examples/unix
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2023-10-10 23:46:07 +1100
committerDamien George <damien@micropython.org>2023-10-26 10:46:42 +1100
commit5b4a2baff6b42b2b428cd58a95407a66387e4305 (patch)
treefa8700298414717dd64300b925536250f35b716d /examples/unix
parent95d8b5fd555ba26ebd79b29fade45d2bf0abc6c4 (diff)
downloadmicropython-5b4a2baff6b42b2b428cd58a95407a66387e4305.tar.gz
micropython-5b4a2baff6b42b2b428cd58a95407a66387e4305.zip
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>
Diffstat (limited to 'examples/unix')
0 files changed, 0 insertions, 0 deletions