Is that bad to call RTT functions if there is no SEGGER connected?
I mean, if there is no RTT viewer connected, what the RTT library does with the message to transmit? Does it put the message in queue? Does it use some RAM? If I forgot to remove this RTT calls in production mode, is that possible that my application crash due to RTT calls?
Here is an example of RTT function I call every seconds for debug purpose :
SEGGER_RTT_SetTerminal(terminal);
SEGGER_RTT_printf(0,"%s %d\n",prefix,number);