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

NRF_LOG not working with SDK12.3.0

I can't get NRF_LOG working with SDK12.3.0. Using the same main.c and sdk_config.h from SDK12.2 - here NRF_LOG is working well - I get no messages in J-Link RTT Viewer with SDK12.3.0. ANY hints to fix it?

settings in sdk_config.h:

#define NRF_LOG_ENABLED 1
#define NRF_LOG_BACKEND_SERIAL_USES_UART 0
#define NRF_LOG_BACKEND_SERIAL_USES_RTT 1

settings in main.c:

#define DEBUG // doesn't matter if present or not
...
#define NRF_LOG_MODULE_NAME "APP"
#include "nrf_log.h"
#include "nrf_log_ctrl.h"
#include "SEGGER_RTT.h"

setting in Makefile:

CFLAGS += -DNRF_LOG_USES_RTT=1

Hence I am a newbie with nRF51 under Eclipse any hints are welcome!

Related