<?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>802_15_4_lib_iar.a built from IAR 8</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/52820/802_15_4_lib_iar-a-built-from-iar-8</link><description>I am using IAR version 8.30.2 . When I try to build the example project is the nRF5_SDK_15.3.0_59ac345 for 802.15.4 for the wireless UART I get a build error: 
 wchar_t in 802_15_4_lib_iar.a was built with a size of 16-bits, The application file build</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 03 Oct 2019 16:42:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/52820/802_15_4_lib_iar-a-built-from-iar-8" /><item><title>RE: 802_15_4_lib_iar.a built from IAR 8</title><link>https://devzone.nordicsemi.com/thread/213251?ContentTypeID=1</link><pubDate>Thu, 03 Oct 2019 16:42:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa7d1e7e-e65e-41e3-8e3c-5acf18b9d0ac</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;No problem. Thank you for the update.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 802_15_4_lib_iar.a built from IAR 8</title><link>https://devzone.nordicsemi.com/thread/213238?ContentTypeID=1</link><pubDate>Thu, 03 Oct 2019 15:05:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7303bfa7-05b5-47c9-bf9d-5098f9f4495d</guid><dc:creator>eboris</dc:creator><description>&lt;p&gt;Ok - That looks like it worked. I guess I was expecting a file named&amp;nbsp;&lt;span&gt;802_15_4_lib&lt;/span&gt;&lt;strong&gt;_iar&lt;/strong&gt;&lt;span&gt;.a that had built to be compatible with IAR 8. Sorry for the confusion.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks Vidar&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 802_15_4_lib_iar.a built from IAR 8</title><link>https://devzone.nordicsemi.com/thread/213235?ContentTypeID=1</link><pubDate>Thu, 03 Oct 2019 14:38:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b58b8ea-28b2-4a34-9797-346dd9b041c1</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Sorry, but I&amp;#39;m not sure I understand the question then. The compatible alternative is&amp;nbsp;&amp;quot;\nRF5_SDK_15.3.0_59ac345_new\components\802_15_4\raw\802_15_4_lib&lt;strong&gt;_gcc&lt;/strong&gt;.a&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 802_15_4_lib_iar.a built from IAR 8</title><link>https://devzone.nordicsemi.com/thread/213229?ContentTypeID=1</link><pubDate>Thu, 03 Oct 2019 14:09:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f26fe1bf-0732-43a4-8356-eb95b280ee3e</guid><dc:creator>eboris</dc:creator><description>&lt;p&gt;Hello Vidar -&lt;/p&gt;
&lt;p&gt;Yes - I saw this post that you reference here. This is why I asked my question. My question is still valid. Specifically - the statement that you provide:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;- If the project contains one of the precompiled libraries listed below, replace it with the IAR 8 compatible alternative&lt;/em&gt;&lt;br /&gt;&lt;em&gt;(there are no projects targeting nRF51 in this SDK).&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Where can I find the &amp;#39;IAR 8 compatible alternative&amp;#39; that is referenced?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 802_15_4_lib_iar.a built from IAR 8</title><link>https://devzone.nordicsemi.com/thread/213092?ContentTypeID=1</link><pubDate>Thu, 03 Oct 2019 06:02:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5356fa5-6713-441e-8827-3b63be25e908</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You may use the _gcc variant of the library in IAR 8. Excerpt from the SDK release notes:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;Note for IAR 8 users:&lt;br /&gt;(Libraries for IAR 8 require wchar_t to be of size 32 bits while IAR 7 requires 16 bits).&lt;br /&gt; &lt;br /&gt;To run a project using IAR 8, follow these intructions:&lt;br /&gt; - Open the IAR project in IAR 8. The IAR workbench will automatically generate an IAR 8 compatible project file.&lt;br /&gt; - If the project contains one of the precompiled libraries listed below, replace it with the IAR 8 compatible alternative&lt;br /&gt; (there are no projects targeting nRF51 in this SDK).&lt;br /&gt; - Save the project.&lt;br /&gt; - When building the project, you might get the warning: &amp;quot;The header file &amp;#39;cmsis_iar.h&amp;#39; is obsolete and should not be used. [...]&amp;quot;.&lt;br /&gt; - The problem is described in DevZone post: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/31123/iar-ewarm-8-22-1-complains-about-cmsis_iar-h"&gt;devzone.nordicsemi.com/.../iar-ewarm-8-22-1-complains-about-cmsis_iar-h&lt;/a&gt;&lt;br /&gt; The solution is to remove all occurrences of #include &amp;lt;cmsis_iar.h&amp;gt;.&lt;br /&gt; &lt;br /&gt;The affected libraries are:&lt;br /&gt; - micro-ecc crypto:&lt;br /&gt; - IAR7: Includes library located in the folder named “…_iar\…”.&lt;br /&gt; - IAR8: Switch to using the library from the folder named “…_armgcc\…”.&lt;br /&gt; - nrf_cc310, nrf_cc310_bl, and nrf_oberon:&lt;br /&gt; - IAR7: Link to a library where “short_wchar” is part of the folder name.&lt;br /&gt; - IAR8: Link to a library without “short_wchar” in part of the folder name.&lt;br /&gt; - Gazell, NFC Tag, and &lt;strong&gt;802.15.4&lt;/strong&gt;:&lt;br /&gt; - IAR7: Includes the library where the file name ends with “_iar”.&lt;br /&gt; &lt;strong&gt;- IAR8: Switch to using the library with similar file name that ends with “_gcc”.&lt;/strong&gt;&lt;br /&gt;*****&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>