<?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>Console on USB only</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115295/console-on-usb-only</link><description>Hi, 
 I am using the NRF52840 DK. I am seeing the console logs in UART-0 and USB console (exposed as ttyACM0). However, I would like to disable the logs on UART-0, but needed them on /dev/ttyACM0. 
 What are the CONFIG options that I need to use?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Oct 2024 16:25:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115295/console-on-usb-only" /><item><title>RE: Console on USB only</title><link>https://devzone.nordicsemi.com/thread/505779?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 16:25:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a222c396-dc04-45bc-9988-4b7e603a4c6c</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;You can test this sample &lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/v3.6.99-ncs2/samples/subsys/usb/console"&gt;zephyr/samples/subsys/usb/console&lt;/a&gt;&amp;nbsp;and refer to its setting.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Console on USB only</title><link>https://devzone.nordicsemi.com/thread/505551?ContentTypeID=1</link><pubDate>Wed, 09 Oct 2024 11:59:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0130104d-5133-4b9b-ba7f-e239dae1bb2d</guid><dc:creator>BALAJI_1709</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/amanda"&gt;Amanda Hsieh&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for the response. I tried setting&amp;nbsp;&lt;span&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.7.0/page/kconfig/index.html#CONFIG_UART_CONSOLE"&gt;CONFIG_UART_CONSOLE&lt;/a&gt;&lt;/span&gt;&lt;code dir="ltr"&gt;=n in prj.conf. It disables the UART. However, it also disables log outputs on /dev/ttyACM0 (usb) port. Is there any option that disables logs on UART and prints on USB port.&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code dir="ltr"&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code dir="ltr"&gt;Regards,&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code dir="ltr"&gt;Balaji.V&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Console on USB only</title><link>https://devzone.nordicsemi.com/thread/505397?ContentTypeID=1</link><pubDate>Tue, 08 Oct 2024 14:51:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9863c7b-168e-454b-85ce-c256e8147cce</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can set&lt;span&gt; &lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.7.0/page/kconfig/index.html#CONFIG_UART_CONSOLE"&gt;CONFIG_UART_CONSOLE&lt;/a&gt;&lt;/span&gt;&lt;code dir="ltr"&gt;=n&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;in your prj.conf file to disable UART logs. This will disable the UART console.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>