<?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>libuarte retarget ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81116/libuarte-retarget</link><description>Dear Members, 
 I got this error 
 .\_build\nrf52840_xxaa.axf: Error: L6218E: Undefined symbol app_uart_put (referred from retarget.o). 
 SDK_config.h is included, 
 
 What&amp;#39;s missing from that file ? 
 
 
 Thank you</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 29 Oct 2021 13:29:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81116/libuarte-retarget" /><item><title>RE: libuarte retarget ?</title><link>https://devzone.nordicsemi.com/thread/336696?ContentTypeID=1</link><pubDate>Fri, 29 Oct 2021 13:29:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2ffecde-400e-4a23-92a9-3928c30764a5</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;The post you linked to is outdated. Now, most of the SDK examples come ready with RTT logging support, just make sure you have the&amp;nbsp;NRF_LOG_BACKEND_RTT_ENABLED option enabled in your sdk_config.h file.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Testing RTT logging with the original libuarte example&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;1. Add #include &amp;quot;nrf_log.h&amp;quot; at the beginning of main.c&lt;/p&gt;
&lt;p&gt;2. Add this line somewhere after the logger as been initialized in main(): &amp;nbsp;NRF_LOG_INFO(&amp;quot;Libuarte example started&amp;quot;);&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1635514049056v2.png" alt=" " /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1635514028735v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: libuarte retarget ?</title><link>https://devzone.nordicsemi.com/thread/336575?ContentTypeID=1</link><pubDate>Fri, 29 Oct 2021 04:32:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e16d24be-5905-42bd-a790-0f9f6431a06e</guid><dc:creator>RixtronixLAB</dc:creator><description>&lt;p&gt;This one is related ?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/debugging-with-real-time-terminal"&gt;devzone.nordicsemi.com/.../debugging-with-real-time-terminal&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: libuarte retarget ?</title><link>https://devzone.nordicsemi.com/thread/336451?ContentTypeID=1</link><pubDate>Thu, 28 Oct 2021 11:45:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2d5026b-a8fe-4129-906b-2df3d619a4da</guid><dc:creator>RixtronixLAB</dc:creator><description>&lt;p&gt;What&amp;#39;s the function for printing message to J-link rttviewer ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: libuarte retarget ?</title><link>https://devzone.nordicsemi.com/thread/336450?ContentTypeID=1</link><pubDate>Thu, 28 Oct 2021 11:45:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:713fa7da-f598-4048-9477-585bd9bd159f</guid><dc:creator>RixtronixLAB</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/2021_2D00_10_2D00_28-19_5F00_43_5F00_07_2D00_E_5F005F00_nRF5_5F00_SDK_5F00_17.0.2_5F00_d674dde_5F00_examples_5F00_peripheral_5F00_libuarte_5F00_pca10056_5F00_blank_5F00_arm5_5F00_no_5F00_p.png" /&gt;&lt;/p&gt;
&lt;p&gt;That one ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: libuarte retarget ?</title><link>https://devzone.nordicsemi.com/thread/336449?ContentTypeID=1</link><pubDate>Thu, 28 Oct 2021 11:41:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8841eb9-a5f2-430b-9629-9a184d0394a9</guid><dc:creator>RixtronixLAB</dc:creator><description>&lt;p&gt;&lt;a href="https://www.segger.com/products/debug-probes/j-link/tools/rtt-viewer/"&gt;https://www.segger.com/products/debug-probes/j-link/tools/rtt-viewer/&lt;/a&gt; ?&lt;/p&gt;
&lt;p&gt;It&amp;#39;s different with serial ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: libuarte retarget ?</title><link>https://devzone.nordicsemi.com/thread/336439?ContentTypeID=1</link><pubDate>Thu, 28 Oct 2021 11:30:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c42aeb7-d95f-4b89-bd73-0074af351f53</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;You can view the logs with Jlink RTT Viewer og Jlink RTT Client: &lt;a href="https://www.segger.com/products/debug-probes/j-link/technology/about-real-time-transfer/"&gt;https://www.segger.com/products/debug-probes/j-link/technology/about-real-time-transfer/&lt;/a&gt; &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: libuarte retarget ?</title><link>https://devzone.nordicsemi.com/thread/336437?ContentTypeID=1</link><pubDate>Thu, 28 Oct 2021 11:28:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f2c7948-1391-47ff-8345-8c132acdc1d2</guid><dc:creator>RixtronixLAB</dc:creator><description>&lt;p&gt;how can we print out the debug message then ? thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: libuarte retarget ?</title><link>https://devzone.nordicsemi.com/thread/336364?ContentTypeID=1</link><pubDate>Thu, 28 Oct 2021 08:45:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d72c27e1-0cac-4d6d-a856-22976ab78189</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;The logger module is configured with the &lt;a href="https://www.segger.com/products/debug-probes/j-link/technology/about-real-time-transfer/"&gt;RTT &lt;/a&gt;backend because the UARTE0 instance normally used by the UART log backend is assigned to the libuarte driver.&lt;/p&gt;
&lt;p&gt;printf&amp;#39;s over UART are not supported in this example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: libuarte retarget ?</title><link>https://devzone.nordicsemi.com/thread/336318?ContentTypeID=1</link><pubDate>Thu, 28 Oct 2021 05:43:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:254f3a02-3b66-4f5b-95c1-1dee7eff39d8</guid><dc:creator>RixtronixLAB</dc:creator><description>&lt;p&gt;Is NRF_LOG_INFO using UART or libuarte on this example ?&lt;/p&gt;
&lt;p&gt;E:\nRF5_SDK_17.0.2_d674dde\examples\peripheral\libuarte\main.c&lt;/p&gt;
&lt;p&gt;I can not display with NRF_LOG_INFO, and printf too...is it related with retarget.c?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: libuarte retarget ?</title><link>https://devzone.nordicsemi.com/thread/336307?ContentTypeID=1</link><pubDate>Thu, 28 Oct 2021 02:21:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1d2d12c-1e0d-444f-aeef-4e6f2b687d89</guid><dc:creator>RixtronixLAB</dc:creator><description>&lt;p&gt;Hi, Vidar,&lt;/p&gt;
&lt;p&gt;Thanks for the reply&lt;/p&gt;
&lt;p&gt;Ok, I&amp;#39;ll remove it and let&amp;#39;s see...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: libuarte retarget ?</title><link>https://devzone.nordicsemi.com/thread/336186?ContentTypeID=1</link><pubDate>Wed, 27 Oct 2021 11:57:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d340cb71-9fc6-4ed9-8b82-24d530165c96</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;retarget.c is made for the app_uart library, and does not work with libuarte. I suggest you remove retarget.c from your project.&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>