Hi everyone,
This is my first time using Nordic nRF SDK, so i hope that I'm not asking for anything too stupid, I'm having troubles in adding nrf_logger.h into a project. I've tried to search for clues in the twi_scanner example but none of the tries have worked so far. Can anyone help me with this issue?
Compiling file: main.c ../../../main.c: In function 'handle_rx': ../../../main.c:47:17: error: implicit declaration of function 'NRF_LOG_INFO'; did you mean 'NRF_LOG_INIT'? [-Werror=implicit-function-declaration] NRF_LOG_INFO("%s",NRF_LOG_PUSH(string)); ^~~~~~~~~~~~ NRF_LOG_INIT ../../../main.c:47:35: error: implicit declaration of function 'NRF_LOG_PUSH'; did you mean 'NRF_LOG_FLUSH'? [-Werror=implicit-function-declaration] NRF_LOG_INFO("%s",NRF_LOG_PUSH(string)); ^~~~~~~~~~~~ NRF_LOG_FLUSH cc1: all warnings being treated as errors make: *** [../../../../../../components/toolchain/gcc/Makefile.common:272: _build/nrf52840_xxaa/main.c.o] Error 1