<?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>Porting Mesh to IAR</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/34672/porting-mesh-to-iar</link><description>Hi, 
 I am facing difficulties porting Mesh examples to IAR. 
 I am getting the following error : #error &amp;quot;Your compiler is currently not supported.&amp;quot; during compilation from nrf_mesh_assert.h 
 I understand that any of the _lint/__GNUC__/__CC_ARM are defined</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 24 May 2018 11:12:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/34672/porting-mesh-to-iar" /><item><title>RE: Porting Mesh to IAR</title><link>https://devzone.nordicsemi.com/thread/133203?ContentTypeID=1</link><pubDate>Thu, 24 May 2018 11:12:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:234d05bf-1461-4685-80a1-eb0278727a31</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The nRF5 SDK for Mesh v2.0.1 supports SEGGER Embedded Studio and CMake. I highly recommend using SEGGER Embedded Studio. It is free to use for projects for Nordic ICs, and is supported by all of our SDKs. If for some reason you need to port it to a different toolchain then I am afraid we can only provide limited help and support.&lt;/p&gt;
&lt;p&gt;The defines that you mention are for code that differs depending on what toolchain/compiler is used. __CC_ARM is the ARM&amp;nbsp; compiler (e.g. Keil), __GNUC__ is gcc. For IAR it would be __ICCARM__, but there is no implementations for that in the nRF5 SDK for Mesh as that SDK does not support IAR. You will see that it is used some places in nRF5 SDK, where IAR is supported. Unfortunately we do not have any overview of how to imlement IAR support in the nRF5 SDK for Mesh.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>