I am using nrf51 SDK v.12.1. And I found NRF_LOG_INFO("BLINKY START\n"); where can I find this log? Is this different from SEEGER_WriteString or something?
I am using nrf51 SDK v.12.1. And I found NRF_LOG_INFO("BLINKY START\n"); where can I find this log? Is this different from SEEGER_WriteString or something?
The output from NRF_LOG_xxx can be displayed in a terminal (if logging over UART) or in the J-link RTT viewer (logging over RTT).
The sdk_config.h file --> configuration wizard can be used to choose logging over UART or RTT.
As you can see in nrf_log_backend_serial.c, logging over RTT uses SEGGER_RTT_xxx functions.
Update: Use the configuration wizard tab in sdk_config.h to enable RTT and/or UART logging:
I tried as you said, but it says error : ._build\nrf51422_xxac.axf: error: L6050U: The code size of this image (33560 bytes) exceeds the maximum allowed for this version of the linker. What is this problem?
I tried as you said, but it says error : ._build\nrf51422_xxac.axf: error: L6050U: The code size of this image (33560 bytes) exceeds the maximum allowed for this version of the linker. What is this problem?