Comment Comment by fra This is a common technique in embedded software. A few other examples:1. Thrice (already mentioned in the comments) https://github.com/rokath/trice2. Pigweed's Tokenizer (from Google) https://pigweed.dev/pw_tokenizer/3. Memfault's Compact Logs https://docs.memfault.com/docs/mcu/compact-logs4. Defmt by Ferrous Systems https://defmt.ferrous-systems.com/ parent fra 2 years ago
1. Thrice (already mentioned in the comments) https://github.com/rokath/trice
2. Pigweed's Tokenizer (from Google) https://pigweed.dev/pw_tokenizer/
3. Memfault's Compact Logs https://docs.memfault.com/docs/mcu/compact-logs
4. Defmt by Ferrous Systems https://defmt.ferrous-systems.com/