Flash generalization, UART receive example, started ring buffer implementation