<?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>Disabling PRINTK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114814/disabling-printk</link><description>Hello, 
 After migrating from NCS 1.8.0 to the latest NCS 2.7.0 version, I am no longer able to disable PRINTK , which we previously did to reduce flash memory usage, as we were critically close to the limit. 
 Currently, I am unable to achieve this.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 18 Sep 2024 12:36:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114814/disabling-printk" /><item><title>RE: Disabling PRINTK</title><link>https://devzone.nordicsemi.com/thread/502939?ContentTypeID=1</link><pubDate>Wed, 18 Sep 2024 12:36:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bdf70fa1-fd70-4233-8f29-f050264e8ed7</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;PRINTK and EARLY_CONSOLE are selected by&amp;nbsp;CONFIG_NCS_BOOT_BANNER and&amp;nbsp;CONFIG_BOOT_BANNER, so these need to be disabled as well. If you want to disable the console and logger output, you can add the following lines to your project configuration file:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_LOG=n
CONFIG_CONSOLE=n
CONFIG_PRINTK=n
CONFIG_UART_CONSOLE=n
CONFIG_NCS_BOOT_BANNER=n
CONFIG_BOOT_BANNER=n&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>