I ran into an issue using RTT on recent SDKs: In SDK15.3 and up RTT stopped working in Segger Embedded Studio. Here's what I found in case others are having the same issue:
Steps to reproduce:
This was tested on SDK15.3, SDK16, SDK17 on a PCA10040 dev-kit.
Host OSes tested on:
I tracked it down to the option "NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF" which is enabled by default. If that is set to 0, there are no issues.
Thanks for sharing!