circuitpython/ports
YoungJoon Chun d8a7bf83cc rp2/machine_uart: Fix UART RTS behaviour so RTS is deasserted.
The UART hardware flow control was not working correctly, the receive FIFO
was always fetched and RTS was never deasserted.  This is not a problem
when hardware flow control is not used: normally, if the receive FIFO is
full, the UART receiver won't receive data into the FIFO anymore, but the
current implementation fetches from the FIFO and discards it instead.
The problem is that data is discarded even when RTS is enabled.

This commit fixes the issue by only taking from the FIFO if there is room
in the ring buffer to put the character.

Signed-off-by: YoungJoon Chun <yjchun@mac.com>
2022-02-09 16:29:53 +11:00
..
bare-arm bare-arm/mpconfigport.h: Disable remaining optional features. 2021-11-01 14:23:06 +11:00
cc3200 ports: Consolidate inclusion of umachine module in built-ins. 2022-02-03 10:08:54 +11:00
esp32 esp32/boards: Add three UM ESP32-S3 based boards. 2022-02-09 00:13:10 +11:00
esp8266 ports: Consolidate inclusion of umachine module in built-ins. 2022-02-03 10:08:54 +11:00
javascript py/runtime: Allow initialising sys.path/argv with defaults. 2021-12-18 00:08:07 +11:00
mimxrt ports: Consolidate inclusion of umachine module in built-ins. 2022-02-03 10:08:54 +11:00
minimal minimal/mpconfigport.h: Disable features that are not needed. 2021-11-05 13:12:18 +11:00
nrf ports: Consolidate inclusion of umachine module in built-ins. 2022-02-03 10:08:54 +11:00
pic16bit all: Update to point to files in new shared/ directory. 2021-07-12 17:08:10 +10:00
powerpc all: Update to point to files in new shared/ directory. 2021-07-12 17:08:10 +10:00
qemu-arm ports: Consolidate inclusion of umachine module in built-ins. 2022-02-03 10:08:54 +11:00
rp2 rp2/machine_uart: Fix UART RTS behaviour so RTS is deasserted. 2022-02-09 16:29:53 +11:00
samd ports: Consolidate inclusion of umachine module in built-ins. 2022-02-03 10:08:54 +11:00
stm32 stm32/boards/NUCLEO_L432KC: Disable MICROPY_OPT_COMPUTED_GOTO. 2022-02-04 14:28:21 +11:00
teensy py/runtime: Allow initialising sys.path/argv with defaults. 2021-12-18 00:08:07 +11:00
unix ports: Consolidate inclusion of umachine module in built-ins. 2022-02-03 10:08:54 +11:00
windows windows/uasyncio: Add support for uasyncio to windows dev variant. 2022-02-07 14:39:15 +11:00
zephyr ports: Consolidate inclusion of umachine module in built-ins. 2022-02-03 10:08:54 +11:00