ESP32 Hardware Serial Flow control and full espressif/arduino-esp32 support
your example was of great help solving the problem of driving RTS properly, thanks a lot!
I found a small bug in the code example, the data buffer is allocated in the loop() function instead of setup() and as a result, eventually the memory leak will fill-up all available memory.
Ciao!
Alessandro