zephyr/tests/drivers/uart
Jerzy Kasenberg fea8ee47da tests: drivers: uart: async_api: Fix chain write
This fixes the case where uart_tx() called from tx callback
fill UART output fifo and immediately execute callback again.
This can happen when hardware does not have interrupt for
output FIFO empty and there is no non-blocking way to tell
that transfer finished.
For such case as soon as output FIFO is filled there is
interrupt that informs that more data can be transmitted.
For hardware with 32 byte fifo callback was seen to be
executed recursively 3 times.
That would not be a problem if chained_write_next_buf
was set BEFORE next call uart_tx().

Additionally semaphore max value is increased to 2
to accommodate such case.

Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg.xr@bp.renesas.com>
2025-06-24 20:07:23 -10:00
..
uart_async_api tests: drivers: uart: async_api: Fix chain write 2025-06-24 20:07:23 -10:00
uart_async_dual drivers: serial: nrfx_uarte: assert clock control enabled 2025-06-13 11:12:43 +02:00
uart_async_rx
uart_basic_api tests: drivers: serial: Add support for Renesas RZ/G2UL-SMARC 2025-06-09 10:26:45 +01:00
uart_elementary tests, samples: update esp32_devkitc board records 2025-04-29 16:48:55 +02:00
uart_emul
uart_errors tests: Add BL54L15/L15u DVK support 2025-04-23 15:02:20 +02:00
uart_mix_fifo_poll tests: Add BL54L15/L15u DVK support 2025-04-23 15:02:20 +02:00
uart_pm tests: Add BL54L15/L15u DVK support 2025-04-23 15:02:20 +02:00