<?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>Recently i was trying to develop example with IAR 8x</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92944/recently-i-was-trying-to-develop-example-with-iar-8x</link><description>i have read it from a resource that 7.80.4 will support can anyone help me with IAR 7.80.4 setup trial to check the feasibility for development</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 18 Oct 2022 14:26:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92944/recently-i-was-trying-to-develop-example-with-iar-8x" /><item><title>RE: Recently i was trying to develop example with IAR 8x</title><link>https://devzone.nordicsemi.com/thread/391235?ContentTypeID=1</link><pubDate>Tue, 18 Oct 2022 14:26:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f0f2d98-292a-43b5-bccf-1a460f469090</guid><dc:creator>Sigurd</dc:creator><description>[quote user="toamrit"]s their ways to work with IAR&amp;nbsp; 8x to work with ZIgbee and openthread&amp;nbsp; nrf SDK (version 4.2).[/quote]
&lt;p&gt;Lookin at the release notes for&amp;nbsp;nRF5 SDK for Thread and Zigbee v4.2.0:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.2.0/index.html"&gt;https://infocenter.nordicsemi.com/topic/sdk_tz_v4.2.0/index.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;We have this section:&lt;/p&gt;
&lt;pre&gt;- Support for IAR and Keil compilers was removed for the v4.2.0 release.&lt;/pre&gt;
&lt;p&gt;So if you want to use IAR, take a look at how the projects in v4.1.0 is configured, and try to port it to v4.2.0.&amp;nbsp; Another option, that is much easier, is to use e.g. Segger Embedded Studio instead&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Recently i was trying to develop example with IAR 8x</title><link>https://devzone.nordicsemi.com/thread/391230?ContentTypeID=1</link><pubDate>Tue, 18 Oct 2022 14:19:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15b7ba29-0bd6-4a23-8ec5-113dcd8ab0b8</guid><dc:creator>toamrit</dc:creator><description>&lt;p&gt;&amp;nbsp;Hey thanks ,but&amp;nbsp; suggested setting are pre-existing in IAR&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;.Can you suggest how i can make IAR&amp;nbsp; work with Open Thread examples .Is their ways to work with IAR&amp;nbsp; 8x to work with ZIgbee and openthread&amp;nbsp; nrf SDK (version 4.2).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;OR can you help us with&amp;nbsp; any share link for the IAR 7.80.4&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Amrit&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Recently i was trying to develop example with IAR 8x</title><link>https://devzone.nordicsemi.com/thread/391162?ContentTypeID=1</link><pubDate>Tue, 18 Oct 2022 10:48:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a209fa13-c0fd-40f8-bd5f-6f820a3e83c7</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We support IAR in nRF5-SDK.&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Products/Development-software/nRF5-SDK"&gt;www.nordicsemi.com/.../nRF5-SDK&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For nRF5-SDK v17.1.0, we used&amp;nbsp;&amp;nbsp;IAR 7.80.4&lt;/p&gt;
&lt;p&gt;For IAR 8, you need to do some modifications to the SDK:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Note for IAR 8 users:

When using IAR 8, you must apply the following workaround in the MDK:

- Apply a patch to modules/nrfx/mdk/compiler_abstraction.h at line 140
 (fix the &amp;#39;__ALIGN()&amp;#39; macro definition): use the argument &amp;#39;n&amp;#39; in the macro expansion instead of &amp;#39;x&amp;#39;.

-------------------

Libraries for IAR 8 require wchar_t to be of size 32 bits while IAR 7 requires 16 bits.
  
To run a project using IAR 8, follow these instructions:
 1. Open the IAR project in IAR 8. The IAR workbench will automatically generate an IAR 8 compatible project file.
 2. If the project contains one of the precompiled libraries listed below, replace it
    with the IAR 8 compatible alternative (there are no projects targeting nRF51 in this SDK).
 3. Save the project.
 4. 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;.
    - The problem is described in DevZone post: https://devzone.nordicsemi.com/f/nordic-q-a/31123/iar-ewarm-8-22-1-complains-about-cmsis_iar-h
      The solution is to remove all occurrences of #include &amp;lt;cmsis_iar.h&amp;gt;.
     
The affected libraries are:
 - micro-ecc crypto:
    - IAR7: Includes library located in the folder named “…_iar\…”.
    - IAR8: Switch to using the library from the folder named “…_armgcc\…”.
 - nrf_cc310, nrf_cc310_bl, and nrf_oberon:
    - IAR7: Link to a library where “short_wchar” is part of the folder name.
    - IAR8: Link to a library without “short_wchar” in the folder name.
 - Gazell, NFC Tag, and 802.15.4:
    - IAR7: Includes the library where the file name ends with “_iar”.
    - IAR8: Switch to using the library with similar file name that ends with “_gcc”.
*****&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>