Loading...
Searching...
No Matches
stdio_rtt.h File Reference

Detailed Description

#include "stdio_base.h"
+ Include dependency graph for stdio_rtt.h:

Go to the source code of this file.

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

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.