This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to enable UART or RTT logging in examples?

I have downloaded nRF5_SDK_12.2.0_f012efa and tried to test logging in examples but without success. Even if I compile an example where NRF_LOG_BACKEND_SERIAL_USES_UART 1 is enabled by default in sdk_config.h I do not get any logs on terminal. I have chmod 666 of /dev/ttyACM0 and set baudrate to default 115200 but still nothing. If I set NRF_LOG_BACKEND_SERIAL_USES_RTT instead of UART I also get nothing on JLinkRRTClient.

Is there anything else that needs to be configured? I compile for pca10028.

Related