Hi,
I have a problem with NRF_LOG_INFO()
macro - it only shows messages form main.c file but not from another .c files in project. Why this could happen?
I work in Eclipse with gcc and nRF52840
Hi,
I have a problem with NRF_LOG_INFO()
macro - it only shows messages form main.c file but not from another .c files in project. Why this could happen?
I work in Eclipse with gcc and nRF52840
There is no such macro RTT_LOG_INFO()
in the SDK. Is this something you have defined yourself, or did you mean NRF_LOG_INFO()
? Is the other .c files part of your application, or is is drivers/libraries from our SDK? Note that most of the modules have logging disabled by default. Logging can be enabled using the {MODULE_NAME}_CONFIG_LOG_ENABLED
, as shown in the Logger Configuration API documentation.
There is no such macro RTT_LOG_INFO()
in the SDK. Is this something you have defined yourself, or did you mean NRF_LOG_INFO()
? Is the other .c files part of your application, or is is drivers/libraries from our SDK? Note that most of the modules have logging disabled by default. Logging can be enabled using the {MODULE_NAME}_CONFIG_LOG_ENABLED
, as shown in the Logger Configuration API documentation.