micropython/ports
robert-hh 40ffe6ecef
rp2/machine_uart.c: Test for an invalid baud rate.
The baud rate requested in the init call may not be achievable. This
happens at least if the baud rate is too low or too high, but may
as well happen at other baud rates. If the deviation is larger than
2 %, an error is raised.

Signed-off-by: robert-hh <robert@hammelrath.com>
2024-03-07 08:10:29 +01:00
..
bare-arm
cc3200 all: Prune trailing whitespace. 2024-03-07 16:25:17 +11:00
embed all: Prune trailing whitespace. 2024-03-07 16:25:17 +11:00
esp32 all: Prune trailing whitespace. 2024-03-07 16:25:17 +11:00
esp8266 all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
mimxrt all: Prune trailing whitespace. 2024-03-07 16:25:17 +11:00
minimal
nrf all: Prune trailing whitespace. 2024-03-07 16:25:17 +11:00
pic16bit all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
powerpc
qemu-arm all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
renesas-ra all: Prune trailing whitespace. 2024-03-07 16:25:17 +11:00
rp2 rp2/machine_uart.c: Test for an invalid baud rate. 2024-03-07 08:10:29 +01:00
samd all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
stm32 all: Prune trailing whitespace. 2024-03-07 16:25:17 +11:00
unix all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
webassembly all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
windows all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
zephyr all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00