hello there, i am using sdk11, i am using uart example. i am using nrf51 dk SEGGER_RTT_WriteString is working. but SEGGER_RTT_printf is not working.main.c
i have seen this link devzone.nordicsemi.com/.../
hello there, i am using sdk11, i am using uart example. i am using nrf51 dk SEGGER_RTT_WriteString is working. but SEGGER_RTT_printf is not working.main.c
i have seen this link devzone.nordicsemi.com/.../
You should define it in the Preprocessor symbol defines in Keil (or in Makefile if you use GCC):
hi thanks error solved. but i am not getting any data on RTTviewer. i have jlink RTTviewer4.98c
It looks like you are using the UART peripheral example. Have you removed the file retarget.c from the project?
yes i removed it. but i am not getting any data
I tried your code, and I had to comment out the line printf("\n\rStart: \n\r");
. I guess this is making some issues when retarget.c is removed.