HW: BMD-350
SDK: nRF5_SDK_12.0.0_12f24da
Sample Code: examples\dfu\bootloader_secure\pca10040_debug
sdk_config.h log setting:
#define NRF_LOG_ENABLED 1
#define NRF_LOG_BACKEND_SERIAL_USES_RTT 1
Problem: JLink RTT viewer shows no logging messages.
If I use UART to log by doing this
#define NRF_LOG_BACKEND_SERIAL_USES_UART 1
there are quite a few compiling errors because UART_ENABLED is not defined in sdk_config.h.
Question 1: what did I miss so that RTT did not work?
Question 2: for that UART logging, those compiling errors are bugs, aren't they?