<?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>Update SDK 17.0.2 to SDK 17.1.0 -&amp;gt; Pe020: identifier &amp;quot;x&amp;quot; is undefined</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/80023/update-sdk-17-0-2-to-sdk-17-1-0---pe020-identifier-x-is-undefined</link><description>After I changed from SDK 17.0.2 to SDK 17.1.0 I get for the example project &amp;quot;blinky_FreeRTOS_pca10040&amp;quot; during the compilation with IAR Embedded Workbench IDE - Arm 8.50.9 the error message: 
 
 The problem happens in the file nrfx_coredep.h in line 161</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 29 Sep 2021 06:31:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/80023/update-sdk-17-0-2-to-sdk-17-1-0---pe020-identifier-x-is-undefined" /><item><title>RE: Update SDK 17.0.2 to SDK 17.1.0 -&gt; Pe020: identifier "x" is undefined</title><link>https://devzone.nordicsemi.com/thread/331604?ContentTypeID=1</link><pubDate>Wed, 29 Sep 2021 06:31:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4dea96a8-c51f-4dd8-9d56-6ea63628b53d</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Yes, both paramaters need to be the same, so your fix is correct.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update SDK 17.0.2 to SDK 17.1.0 -&gt; Pe020: identifier "x" is undefined</title><link>https://devzone.nordicsemi.com/thread/331556?ContentTypeID=1</link><pubDate>Tue, 28 Sep 2021 14:50:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f86e879a-cd93-4f4f-ac3f-f6b10cec428a</guid><dc:creator>PabloL</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It seems to be a mistake in &amp;quot;compiler_abstraction.h&amp;quot; line 140:&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;  #if (__VER__ &amp;gt;= 8000000)
        #ifndef __ALIGN
            #define __ALIGN(n) __attribute__((aligned(x)))
        #endif
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Shouldn&amp;#39;t the parameter be &amp;#39;n&amp;#39; or &amp;#39;x&amp;#39; in both cases?&lt;/p&gt;
&lt;p&gt;I changed it and&amp;nbsp;compiled without errors.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update SDK 17.0.2 to SDK 17.1.0 -&gt; Pe020: identifier "x" is undefined</title><link>https://devzone.nordicsemi.com/thread/331190?ContentTypeID=1</link><pubDate>Sun, 26 Sep 2021 12:10:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f98c743c-e282-43af-a20e-304404ceb799</guid><dc:creator>steinisoft</dc:creator><description>&lt;p&gt;After some more research about that topic I found the solution of the problem. It is a problem with IAR 8.xx.x, which is also mentioned in:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/79818/build-issue-with-nrf52832-please-help-me/330379" rel="noopener noreferrer" target="_blank"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/79818/build-issue-with-nrf52832-please-help-me/330379&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The solution is to replace the file &lt;strong&gt;modules/nrfx/mdk/compiler_abstraction.h &lt;/strong&gt;with the file from download&lt;/p&gt;
&lt;p&gt;&lt;a title="8.42.0 GCC 3-clause BSD license" href="https://www.nordicsemi.com/Products/Development-tools/nRF-MDK/Download#infotabs"&gt;https://www.nordicsemi.com/Products/Development-tools/nRF-MDK/Download#infotabs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;of Verison &lt;strong&gt;&lt;span class="versionfile" id="fvC6DA307DD9F24E828579156E7CD982D9"&gt;8.42.0&lt;/span&gt; &lt;/strong&gt;&lt;span class="version" id="fvnC6DA307DD9F24E828579156E7CD982D9"&gt;&lt;strong&gt;GCC 3-clause BSD license&lt;/strong&gt; &lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="version"&gt;After doing this, everything is running correctly.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>