I'm running a copy of the Zephyr Peripheral UART project. And I'm testing with the nRF Toolbox. My target is the nRF52 DK (52832 chip).
I want to see the application's log output so I started up the RTT viewer as per these instructions: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/getting_started/testing.html#testing-rtt-connect
And I see this, which seems to indicate that it's connected:
I can connect to the DK app from nRF Toolbox and I can send text which appears on COM4 via Tera Term:
But no RTT log messages ever come out. Do I need to set some special flag when I build the project in order to see the log messages in RTT?
Looking in the file log_core.h, I find the definitions of the various log levels:
#define LOG_LEVEL_NONE 0U #define LOG_LEVEL_ERR 1U #define LOG_LEVEL_WRN 2U #define LOG_LEVEL_INF 3U #define LOG_LEVEL_DBG 4U
But I don't see any of these appearing in the sample app's main.c. I wonder if they get set somewhere else in the example and they are set to "NONE" by default?