Dear Members,
I got this error
.\_build\nrf52840_xxaa.axf: Error: L6218E: Undefined symbol app_uart_put (referred from retarget.o).
SDK_config.h is included,
What's missing from that file ?
Thank you
Dear Members,
I got this error
.\_build\nrf52840_xxaa.axf: Error: L6218E: Undefined symbol app_uart_put (referred from retarget.o).
SDK_config.h is included,
What's missing from that file ?
Thank you
Hello,
retarget.c is made for the app_uart library, and does not work with libuarte. I suggest you remove retarget.c from your project.
Best regards,
Vidar
Hi, Vidar,
Thanks for the reply
Ok, I'll remove it and let's see...
https://www.segger.com/products/debug-probes/j-link/tools/rtt-viewer/ ?
It's different with serial ?

That one ?
What's the function for printing message to J-link rttviewer ?
This one is related ?
devzone.nordicsemi.com/.../debugging-with-real-time-terminal
The post you linked to is outdated. Now, most of the SDK examples come ready with RTT logging support, just make sure you have the NRF_LOG_BACKEND_RTT_ENABLED option enabled in your sdk_config.h file.
Testing RTT logging with the original libuarte example
1. Add #include "nrf_log.h" at the beginning of main.c
2. Add this line somewhere after the logger as been initialized in main(): NRF_LOG_INFO("Libuarte example started");


The post you linked to is outdated. Now, most of the SDK examples come ready with RTT logging support, just make sure you have the NRF_LOG_BACKEND_RTT_ENABLED option enabled in your sdk_config.h file.
Testing RTT logging with the original libuarte example
1. Add #include "nrf_log.h" at the beginning of main.c
2. Add this line somewhere after the logger as been initialized in main(): NRF_LOG_INFO("Libuarte example started");

