Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to enable blocking log output with RTT? - SDK15

Hello,

I want to be able to toggle blocking RTT output when using the log module.

Before in SDK13 I could just set SEGGER_RTT_CONFIG_DEFAULT_MODE to 2 in the sdk_config.h file. That doesn't seem to work anymore with the new logging module. I keep seeing these red logs saying "Logs dropped(x)" even though the mode is set to BLOCK. The whole point of having blocking output is that no logs are dropped.

How can I achieve this now? Thanks in advance for your support!

Related