thiagofinelon opened a new pull request, #17202:
URL: https://github.com/apache/nuttx/pull/17202

   ### Summary
   
   Resolves the UART RX FIFO overflow reported in issue #17179 by exposing 
threshold and timeout controls via new CONFIG_ESP32S3_RX_FIFO_THRD and 
CONFIG_ESP32S3_RX_FIFO_TOUT options.
   Updates the ESP32-S3 serial driver to honor those Kconfig values, enabling 
the RX timeout logic and clearing FIFO overflow interrupts by resetting the 
hardware buffer.
   Provides help text so integrators understand the hardware limits (128-byte 
FIFO) and the trade-off between latency and interrupt rate when tuning the 
settings.
   
   ### Impact
   
   Behaviour change is limited to ESP32-S3 builds: existing defaults match the 
previous configuration, while Kconfig now allows board-specific tuning to 
prevent data loss on high-throughput UART links.
   No effect on other architectures or boards; build system and documentation 
remain unchanged.
   Eliminates a class of RX overflow stalls observed when the FIFO filled 
before the interrupt handler drained it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to