How to turn off RTT when the program is running?

How to turn off RTT when the program is running?

Use sdk 17.1.0 & nrf52840.

  • Hi

    You can't disable RTT during runtime I'm afraid, and you have to disable it before compiling in order to disable it. This can be done by setting the define NRF_LOG_BACKEND_RTT_ENABLED to 0 in your project's sdk_config.h file. You can also disable logging entirely to minimize current consumption if that's of interest by setting the NRF_LOG_ENABLED define to 0.

    Best regards,

    Simon

Related