<?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>Migrate printk from UART to RTT</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56061/migrate-printk-from-uart-to-rtt</link><description>Hello, 
 What are the steps to migrate a SDK sample printk output from UART to RTT please ? 
 Thank you</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 06 Jan 2020 10:47:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56061/migrate-printk-from-uart-to-rtt" /><item><title>RE: Migrate printk from UART to RTT</title><link>https://devzone.nordicsemi.com/thread/227635?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2020 10:47:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6052f306-a6cf-470e-87fd-3d12807ce9b7</guid><dc:creator>Fabien Comte</dc:creator><description>&lt;p&gt;Ok, thank you for your help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migrate printk from UART to RTT</title><link>https://devzone.nordicsemi.com/thread/227598?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2020 08:56:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17225209-d885-4f35-9357-e1ed80f67c71</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;If you are talking about the AT commands going through the at_host library, there is no simple way of getting that output (and input) to RTT, as the library uses UART directly, not Zephyr&amp;#39;s console or logging interface.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migrate printk from UART to RTT</title><link>https://devzone.nordicsemi.com/thread/227441?ContentTypeID=1</link><pubDate>Fri, 03 Jan 2020 14:08:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8925ac2-2bc1-438b-835e-de1f809c4f9d</guid><dc:creator>Fabien Comte</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Is there a way to get all outputs (like modem in LTE Link Monitor) please ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migrate printk from UART to RTT</title><link>https://devzone.nordicsemi.com/thread/227295?ContentTypeID=1</link><pubDate>Thu, 02 Jan 2020 16:19:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:129e3dfc-6b82-454f-a86e-861161e1592f</guid><dc:creator>Fabien Comte</dc:creator><description>&lt;p&gt;Your keywords helped me to find &amp;quot;&lt;span style="background-color:#ffffff;"&gt;ncs\zephyr\doc\guides\tools\nordic_segger.rst&lt;/span&gt;&amp;quot; and it works.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migrate printk from UART to RTT</title><link>https://devzone.nordicsemi.com/thread/227277?ContentTypeID=1</link><pubDate>Thu, 02 Jan 2020 14:43:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2712f90-69b0-40bc-b301-2da11a1fd069</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Have you tried to search for RTT related configurations in menuconfig?&lt;/p&gt;
&lt;p&gt;A good place to start is by enabling CONFIG_USE_SEGGER_RTT. That adds RTT as a logging backend.&lt;/p&gt;
&lt;p&gt;In addition, you could try to enable CONFIG_RTT_CONSOLE to display console messages on RTT.&lt;/p&gt;
&lt;p&gt;Note that these settings do not remove UART as a backend for either the logging or console.&lt;/p&gt;
&lt;p&gt;Also, if your project consists of multiple images (such as MCUBoot or SPM + your application), you have to change the settings for each image you want to change.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Didrik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>