Hi, I use PCA10040 v1.1 with Keil MDK 5.20 and SDK 12. I have installed J-Link 5.12f driver.
I usually use the NRF_LOG_ENABLED
MACRO to check the UART debug message.
It seems to me that the SEGGER_RTT can be an alternative way to check log messages.
So I was wandering that can the NRF_LOG_INFO
MACROS can be changed to SEGGER_RTT_WriteString
without searching every MACROS in the application code.
The "find and replace" the NRF_LOG_INFO
MACROS was kind of a troublesome.
So, instead of using "find and replace", can the NRF_LOG_INFO
MACROS be replaced to SEGGER_RTT?
// Added 2016.09.06
I used the SPI master example by the way.
I used NRF_LOG_ENABLED
and NRF_LOG_BACKEND_SERIAL_USES_RTT
as a preprocessor. (Don't know whether this is a correct expression.)
Or change the values in the sdk_config.h
.
As a result, it works! Thanks, Krzysztof Chruściński and Keton.
-Best Regards, Mango