Firmware fundamentals: endianness, ring buffers and the stack
Answer and code short firmware questions: what big- and little-endian mean and how to detect or convert byte order, how a ring buffer works between an interrupt handler and the main loop (and what must be volatile or atomic), and how the stack behaves: frames, local variables, recursion depth and what a stack overflow looks like on a microcontroller.
No answer yet. Write the first one; the best answer gets endorsed.
