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...
Is NRF_LOG_INFO using UART or libuarte on this example ?
E:\nRF5_SDK_17.0.2_d674dde\examples\peripheral\libuarte\main.c
I can not display with NRF_LOG_INFO, and printf too...is it related with retarget.c?
Thanks
The logger module is configured with the RTT backend because the UARTE0 instance normally used by the UART log backend is assigned to the libuarte driver.
printf's over UART are not supported in this example.
The logger module is configured with the RTT backend because the UARTE0 instance normally used by the UART log backend is assigned to the libuarte driver.
printf's over UART are not supported in this example.
how can we print out the debug message then ? thanks
You can view the logs with Jlink RTT Viewer og Jlink RTT Client: https://www.segger.com/products/debug-probes/j-link/technology/about-real-time-transfer/
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 ?