I cannot get the SEGGER_RTT_printf() function to work with the Nordic BLINKY_PCA10040 example (without softdevice). I get the following diagnostic “undefined reference to SEGGER_RTT_printf” when using MSBuild. I have included the SEGGER header file in main.c, while the other supporting Segger header and c files appear in folders within the Solution Explorer window.
The Segger file SEGGER_RTT_printf.c contains this statement:
#if defined(NRF_LOG_USES_RTT) && NRF_LOG_USES_RTT == 1
<span style=”color: #000000; font-family: Calibri;”>But it is not clear to me how to define this condition—I tried using a #define statement for this in main.c, but to no avail–</span>
Attachments:
You must be
logged in to view attached files.