diff options
| author | Nathan Perry <np@nathanperry.dev> | 2024-12-12 17:22:15 -0500 |
|---|---|---|
| committer | Nathan Perry <np@nathanperry.dev> | 2024-12-12 17:22:15 -0500 |
| commit | 8c12eb2d5c480bd1a481097c9d0fbea6f8362015 (patch) | |
| tree | 933b13c8f37fefc0d335ffd45a5811759103eb56 /test_fw/include/log.h | |
| parent | 6c9e373cb60c36d77544932131648ed64f6a72b2 (diff) | |
enable rtt logging
Diffstat (limited to 'test_fw/include/log.h')
| -rw-r--r-- | test_fw/include/log.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test_fw/include/log.h b/test_fw/include/log.h new file mode 100644 index 0000000..18efa7a --- /dev/null +++ b/test_fw/include/log.h @@ -0,0 +1,12 @@ +#pragma once + +#define USE_RTT 1 + +#define LOGGER Serial + +#if USE_RTT +#include <RTTStream.h> + +extern RTTStream rtt; +#define LOGGER rtt +#endif |
