How does SLM use RTT?

How does the slm routine of ncs1.9.1 use rtt log. Below is my configuration:

CONFIG_LOG=y
CONFIG_LOG_DEFAULT_LEVEL=3

CONFIG_USE_SEGGER_RTT=y
CONFIG_RTT_CONSOLE=y
CONFIG_LOG_BACKEND_RTT=y
CONFIG_UART_CONSOLE=n
CONFIG_LOG_BACKEND_UART=n

With the default configuration, there should be RTT log output, but nothing happens in the actual window.

Parents Reply Children
  • I can't see no obvious reason for this from autoconf.h. When you are testing ncs2.0.0 and ncs1.9.0, are you testing both using nRF Connect for VS Code?

    I remembered one other thing that you can check. When you are using Segger Embedded Studio in NCS, you need to reload the project (close and re-open) whenever you change something in prj.conf (or other .conf files). Make sure that you try this.

    BR,

    Edvin

Related