[][src]Module dwm1001::debug

Provides debug output based on semihosting

If you're running your program attached to a debugger, you might want to use this module to enable debug output based on semihosting. This requires the semihosting feature to be enabled.

Without the semihosting feature, semihosting will not be initialized and the macros in this module will not print anything. This makes it possible to run your program without a debugger attached.

ATTENTION: If you intend your program to run without a debugger attached, always compile it without the semihosting feature. Programs that enable semihosting cannot run without a debugger attached.

Statics

STDOUT

Connects to the host's stdout

Functions

init

Initializes the debug output, if semihosting is enabled