arm/xilinx: Fix zynq-uart interrupt receive

- Trigger on a single character entering the RX FIFO

- Disable the RX timeout

- Send up to a FIFO full of data
This commit is contained in:
Chris Johns
2021-08-17 17:57:41 +10:00
parent 0490be70ee
commit 691d0edd34
3 changed files with 67 additions and 57 deletions

View File

@@ -52,6 +52,7 @@ extern "C" {
typedef struct {
rtems_termios_device_context base;
volatile struct zynq_uart *regs;
int tx_queued;
bool transmitting;
rtems_vector_number irq;
} zynq_uart_context;