summaryrefslogtreecommitdiffstats
path: root/bsps/include/dev/serial/zynq-uart.h
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2021-08-17 17:57:41 +1000
committerChris Johns <chrisj@rtems.org>2021-09-16 11:11:13 +1000
commit691d0edd34f25a883c5dd0a56051d087b88e4fa4 (patch)
tree268287a5e88231c08b337a220fdf2739135c272d /bsps/include/dev/serial/zynq-uart.h
parenttestsuites: Wrap putchar (diff)
downloadrtems-691d0edd34f25a883c5dd0a56051d087b88e4fa4.tar.bz2
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
Diffstat (limited to 'bsps/include/dev/serial/zynq-uart.h')
-rw-r--r--bsps/include/dev/serial/zynq-uart.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bsps/include/dev/serial/zynq-uart.h b/bsps/include/dev/serial/zynq-uart.h
index 220d9b7717..b21e16f6de 100644
--- a/bsps/include/dev/serial/zynq-uart.h
+++ b/bsps/include/dev/serial/zynq-uart.h
@@ -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;