STDIO over SEGGER RTT

STDIO mapping for running the STDIO over SEGGER's RTT interface. More...

Detailed Description

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

Files

file  stdio_rtt.h
 

Functions

void rtt_stdio_enable_stdin (void)
 enable stdin polling, at a power consumption cost. More...
 
void rtt_stdio_enable_blocking_stdout (void)
 enable stdout blocking and free space polling. More...
 

Function Documentation

◆ rtt_stdio_enable_blocking_stdout()

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

◆ rtt_stdio_enable_stdin()

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.