libuarte retarget ?

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 ?

1537.sdk_config.h

Thank you

Parents Reply
  • 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");

Children
No Data
Related