STDIO over SEGGER RTT

STDIO mapping for running the STDIO over SEGGER’s RTT interface.

void rtt_stdio_enable_stdin(void)

enable stdin polling, at a power consumption cost.

This is enabled by default unless STDIO_RTT_DISABLE_STDIN is defined.

void rtt_stdio_enable_blocking_stdout(void)

enable stdout blocking and free space polling.

This must be done with caution because if there is no RTT client attached, all writes to stdout will block indefinitely. This can be enabled automatically by defining STDIO_RTT_ENABLE_BLOCKING_STDOUT