Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Numerous errors compiling nrf_log_frontend.c

I wasn't receiving any log messages while debugging the ble_app_uart_c example using SES so I enabled appropriate logging functions and set them to level 4 in config.h.  Still didn't get any log messages so I added NRF_LOG_INFO() after the #defines section in main.c. 

Compiler is flagging many, many errors such as:  

                #define LOG_INTERNAL_X(N, ...) CONCAT_2(LOG_INTERNAL_, N), (__VA_ARGS__)       'LOG_INTERNAL_0' undeclared (first use in this function); did you mean 'LOG_INTERNAL_2'?

and:

                #define LOG_INTERNAL_X(N, ...) CONCAT_2(LOG_INTERNAL_, N), (__VA_ARGS__)       expected expression before ')' token 

I've been able to eliminate some errors simply by retyping the code but others keep popping up with each successive run.  

Please advise.

Parents Reply Children
No Data
Related