Hello Tyler thanks a lot for supporting and helping FW community. This is a little out of contex request. Could you please make a tutorial on ring buffer and how to pass data between an interrupt handler and the main thread in bare metal FW. Let’s say an interrupt handler is receiving the data through a serial protocol of some sensor data and we want to process the sensor data in the main thread or task. THis is a bare metal FW. How can we achieve this without losing the data from the sensor? If let’s say we use the ring buffer for this problem then what if the buffer overflow will occur what to do when there is buffer overflow. Sorry for the long question.
Thanks a lot.
Chitrang