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!
Is there a ring buffer library in IDF?
-
- Posts: 18
- Joined: Tue Feb 05, 2019 5:28 pm
- Location: Brazil
Re: Is there a ring buffer library in IDF?
Great! Thank you! That was very speedy response. How do you read all the IDF references? It's so long I wish I could take a break and just read the references for a month
Who is online
Users browsing this forum: No registered users and 151 guests