<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>How to turn off RTT when the program is running?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90783/how-to-turn-off-rtt-when-the-program-is-running</link><description>How to turn off RTT when the program is running? 
 Use sdk 17.1.0 &amp;amp; nrf52840.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 08 Aug 2022 12:48:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90783/how-to-turn-off-rtt-when-the-program-is-running" /><item><title>RE: How to turn off RTT when the program is running?</title><link>https://devzone.nordicsemi.com/thread/380617?ContentTypeID=1</link><pubDate>Mon, 08 Aug 2022 12:48:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:300fd926-a991-4f25-9980-62909a69d25e</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;You can&amp;#39;t disable RTT during runtime I&amp;#39;m afraid, and you have to disable it before compiling in order to disable it. This can be done by setting the define&amp;nbsp;&lt;strong&gt;NRF_LOG_BACKEND_RTT_ENABLED to 0&lt;/strong&gt; in your project&amp;#39;s sdk_config.h file. You can also disable logging entirely to minimize current consumption if that&amp;#39;s of interest by setting the NRF_LOG_ENABLED define to 0.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>