mirror of
https://github.com/len0rd/personal-website.git
synced 2025-09-03 12:53:53 -04:00
13 lines
720 B
ReStructuredText
13 lines
720 B
ReStructuredText
.. embedded_logging:
|
|
|
|
Embedded Logging
|
|
================
|
|
|
|
|
|
I often encounter situations in embedded development where I need to roll my own solution for logging on an MCU. The standard quick-fix to this challenge is for your application to tie a UART to printf and then listen there during runtime. While this is a good start, getting embedded code to a production state will often require more.
|
|
|
|
In my first fulltime job out of college, the senior engineers who mentored me came up with a simple but flexible solution for logging on an embedded platform which I still use to this day. Here's a quick summary of how it works and how you can implement it.
|
|
|
|
Support multiple output streams
|
|
-------------------------------
|
|
|