Closed lukileczo closed 7 months ago
7 155 tests ±0 6 448 :white_check_mark: ±0 33m 46s :stopwatch: -18s 397 suites ±0 707 :zzz: ±0 1 files ±0 0 :x: ±0
Results for commit 71bfc0be. ± Comparison against base commit dd197dbc.
:recycle: This comment has been updated with latest results.
Description
Optimize
libuart_infiniteRxHandler
:rxbuf
isNULL
- previously the function updated positions in buffer even when no one was waiting to read from UART. This caused us to unnecessary execute most of the interrupt handling code, which probably resulted in delay of interrupt handling whenrxbuf
was ready. This early return fixes the problem with overrun.memcpy
tofor
loop on volatile DMA buffer.Examples from testing:
In 385 overrun was detected.
\n\r
and start of next line dropped, overrun was detected.Motivation and Context
Types of changes
How Has This Been Tested?
armv7m4-stm32l4x6-at
Checklist:
Special treatment