<?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>undefined reference to `nrf_libuarte_async_tx&amp;#39;</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66864/undefined-reference-to-nrf_libuarte_async_tx</link><description>Hello, I&amp;#39;m trying to compile the LIBUARTE example from SDK 16 but im getting undefined reference errors, this is what I&amp;#39;ve done so far: 
 
 in sdk_config.h defined , (I&amp;#39;ve also copied the config file provided in the example folder). 
 Included in the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 08 Oct 2020 07:14:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66864/undefined-reference-to-nrf_libuarte_async_tx" /><item><title>RE: undefined reference to `nrf_libuarte_async_tx'</title><link>https://devzone.nordicsemi.com/thread/273635?ContentTypeID=1</link><pubDate>Thu, 08 Oct 2020 07:14:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4063c6d-6879-446e-8c8b-af28fbfd9095</guid><dc:creator>Mecadev</dc:creator><description>&lt;p&gt;Yes, that&amp;#39;s because you&amp;#39;re compiling with C (I&amp;#39;m compiling for C++ arm-none-eabi), with c++ there are some mods that has to be done, like adding extern C (and macros c++ compatibility) , sdk 16.0 on that specific library doesn&amp;#39;t have them.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: undefined reference to `nrf_libuarte_async_tx'</title><link>https://devzone.nordicsemi.com/thread/273631?ContentTypeID=1</link><pubDate>Thu, 08 Oct 2020 07:09:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e92a6c9a-66c5-4683-8f81-d9ae9b70b4b1</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Good to know you figure out the issue. However, the&amp;nbsp;SDK 16&amp;nbsp;&lt;span&gt;LIBUARTE&amp;nbsp;&lt;/span&gt;&lt;span&gt;example has already done what you did, and I don&amp;#39;t see any error while compiling the unmodified example.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: undefined reference to `nrf_libuarte_async_tx'</title><link>https://devzone.nordicsemi.com/thread/273609?ContentTypeID=1</link><pubDate>Thu, 08 Oct 2020 05:00:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56ac43d0-5b09-4766-9b6c-c6e90a4ce4d0</guid><dc:creator>Mecadev</dc:creator><description>&lt;p&gt;Ok I&amp;#39;ve figure it out, I though the &lt;code&gt;libuarte&lt;/code&gt; library header file had the&amp;nbsp;&lt;code&gt;&lt;span&gt;extern&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/code&gt;&lt;span&gt;&lt;code&gt;&amp;quot;C&amp;quot;&lt;/code&gt; brackets like all the sdk libraries, seems like they forgot to add it, hope they add it in newer SDK releases!.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>