zephyr/tests/drivers/uart/uart_async_api
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
..
boards boards: nxp: imx95_evk_mimx9596_m7: add uart dma support 2025-06-24 20:02:35 -10:00
nxp tests: drivers: uart: simplify setting for NXP platforms 2025-04-25 18:59:24 +02:00
socs
src tests: drivers: uart: async_api: Fix chain write 2025-06-24 20:07:23 -10:00
sysbuild/vpr_launcher
CMakeLists.txt
Kconfig tests: drivers: uart: uart_async_api: test short buffers 2025-05-15 22:14:08 +02:00
prj.conf
stm32_nocache_mem_dt.conf
stm32_nocache_mem.conf
testcase.yaml tests: drivers: uart: simplify setting for NXP platforms 2025-04-25 18:59:24 +02:00