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

Problem to enabling modules sdk_config.h

Hi to everyone!!

I have this error: 


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

I understand that i should include the libreries on my project and than enable the corrisponding modules on the sdk_config.h file (trought the Configuration Wizard  or "manually" on the file). I have some problems in finding the right module. How can i understand which is the module to enable on the Configuration Wizard ?

For example i imagine that i should enable for the ".\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol nrf_fprintf (referred from nrf_log_str_formatter.o)."  the NRF_FPRINTF, I dont find this on the sdk_config nor in the Configuration Wizard. Should i add this module on the file manually and than enable it?  

I was thinking to add to sdk_config.h somewhere somthing like that: 

// <e> NRF_PRINTF_ENABLED - Fprintf module for nRF5 SDK
//==========================================================
#ifndef NRF_PRINTF_ENABLED
#define NRF_PRINTF_ENABLED 1
#endif

It makes any sense to you?

Thanks in advance!!

polimarte

Related