Dear all,
I tried to use the SEGGER_SYSVIEW_PrintfHost() function. My understanding is that:
unsigned int c = 10;
SEGGER_SYSVIEW_PrintfHost("1: %d\n",c);
should lead to an output in the terminal window like: 1: 10
However I always get: 1: %d
So the formatting on the host seems not to work in my configuration. Did I need to define or compile additional RTT functionality to get it work? The examples that comes with SystemView seems not to use the formatting string. The define of SEGGER_SYSVIEW_PRINTF_IMPLICIT_FORMAT is set to 0 in my configuration file.
Any idea what I need to change?
Best Regards
Markus
I tried to use the SEGGER_SYSVIEW_PrintfHost() function. My understanding is that:
unsigned int c = 10;
SEGGER_SYSVIEW_PrintfHost("1: %d\n",c);
should lead to an output in the terminal window like: 1: 10
However I always get: 1: %d
So the formatting on the host seems not to work in my configuration. Did I need to define or compile additional RTT functionality to get it work? The examples that comes with SystemView seems not to use the formatting string. The define of SEGGER_SYSVIEW_PRINTF_IMPLICIT_FORMAT is set to 0 in my configuration file.
Any idea what I need to change?
Best Regards
Markus