This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

SPIS Nrf log enabling problem

I'm trying to print received data on my com port but when I set the  "NRF_LOG_ENABLED" as 1 the error below shows up.

.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol nrf_log_default_backends_init (referred from main.o).
Not enough information to list image symbols.
Not enough information to list load addresses in the image map.

What does it mean?? How would I know what files to include. I then though I could use "printf()" command to do the same but it shows similar error. I included all the files which support uart into it. I'll mention below just to be sure:

In nRF_Drivers:

app_uart_fifo.c

nrf_drv_uart.c

in Libraries:

app_fifo.c

I included the path of those drivers and libraries too.

Parents Reply Children
  • I forgot to mention that im using SPIS from the SDK14.2 and trying to print the received data on my screen. In the code there is part where it shows the received data : 

     NRF_LOG_INFO(" Transfer completed. Received: %s",(uint32_t)m_rx_buf);

    But it doesn't show anything on my com port.

    Thanks Martin, I added those files and there is no error now but I still couldn't see anything on my com port . I haven't made any changes in SPIS examples just added nrf_log_default_backends.c and Enabled Nrf_log in the sdk_config.h

Related