Add debug log ring buffer with timestamps, log CLI subcommand

This commit is contained in:
Ian Gulliver
2026-04-07 09:18:43 +09:00
parent ffcbaf0665
commit d215ddc6f2
12 changed files with 128 additions and 9 deletions

View File

@@ -6,7 +6,7 @@
#include "ring_buffer.h"
struct usb_cdc {
ring_buffer<512> tx;
ring_buffer<uint8_t, 512> tx;
void send(std::span<const uint8_t> data) {
tx.push(data);