saramonteiro opened a new pull request #3824: URL: https://github.com/apache/incubator-nuttx/pull/3824
## Summary This MR aims to support HW flow control in ESP32-S2. ## Impact From now on, the feature works. May affect only UART HW flow control users for ESP32-S2. ## Testing Testing the input HW flow control is a little bit tricky, because it requires that we create some scenarios (like the SW serial FIFO empty, full and above the upper watermark but below the full size) and observe the behavior of the RTS line. So, to test the input HW flow control, I had to adjust the RX interrupt to load the data into the SW FIFO at once to ensure a specific value of items in the SW FIFO and to observe the behavior of RTS in the LA. Testing the output is pretty much easier, and requires only to change the CTS line to high and low level and observe that the echo arrive when the CTS is low. To test the HW flow control change using the termios interface, I used the termios example from /apps/ which disables the HW flow control and we can have a communication regardless the state of the RTS/CTS pins. -- 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. For queries about this service, please contact Infrastructure at: [email protected]
