can you help me out please:
I have followed devzone.nordicsemi.com/.../ and have configured as it shows.
But NRF_LOG_INFO does not work however SEGGER_RTT_printf does.
What should i do?
Which SDK version are you using? Have you set NRF_LOG_ENABLED and NRF_LOG_BACKEND_SERIAL_USES_RTT? Are you using NRF_LOG_DEFERRED? If you are, you need to call NRF_LOG_FLUSH() to process the log buffer.
I use SDK 12.2.0 with nrf52832.
Thank you. The NRF_LOG_FLUSH() was missing.
I have a similar issue with SDK15.3. I managed to get the NRF_LOG working on one project after reading all the forum posts but when I try on a virgin instance of ble_app_multilink_central using this knowledge, logging does not work.
- I have compiled and run debug config
- Project settings are debug level 3
- NRF_LOG_ENABLED, NRF_LOG_BACKEND_RTT_ENABLED are enabled and NRF_LOG_DEFERRED disabled in sdk_config.h via CMSIS configurator. NRF_LOG_BACKEND_UART_ENABLED also disabled
No log messages are printed at any level. Printf works fine....