Is there a ring buffer library in IDF?
Posted: Wed May 26, 2021 10:04 pm
I am writing a device driver for printers and need ring buffers for printer responses. I wonder if there is one that handles buffering read of UART etc or the buffer is built into the UART code. I've not read the code yet. I just read Arduino's HardwareSerial.cpp for an idea but their code has the ring buffer mixed with the hardware serial code so it's not independent nor is it reusable. A quick internet search turned up a few git repos and none of which has nearly long enough history and forks to give me confidence in.
Thanks!
Thanks!