[ ] Define at least one channel for generic (temporary) debug output.
[ ] Define a DEBUG_PRINT((channel, level, ...)) macro (or similar), which converts to a corresponding RTT call
Use of a macro (instead of directly encoding RTT calls in code) is intended to allow re-compiling to output at least the generic debug channel to a different channel, such as the terminal or additional CDC port, with smaller efforts.
[ ] Define at least one other channel (of implementor's choosing) to highlight ability to have distinct output channels ... amaze us!
See https://forum.buspirate.com/t/feature-rtt-for-debug-output-was-3rd-com-port/651/10
Resources: