<?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>Issue Compiling Assembly Code in app_error_handler_gcc.c</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/111187/issue-compiling-assembly-code-in-app_error_handler_gcc-c</link><description>Howdy guys, 
 I am using an nrf52840 and SDK version 17.1.0 alongside Keil. I just upgraded from using the arm compiler version 5 to 6, which required me to switch from the app_error_handler_keil.c file to the GCC version, app_error_handler_gcc.c. Unfortunately</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 May 2024 11:18:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/111187/issue-compiling-assembly-code-in-app_error_handler_gcc-c" /><item><title>RE: Issue Compiling Assembly Code in app_error_handler_gcc.c</title><link>https://devzone.nordicsemi.com/thread/485061?ContentTypeID=1</link><pubDate>Tue, 21 May 2024 11:18:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e49041c5-a759-42f7-b3d9-ded5707563ba</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;I tested this on ARMv6 on my end and I see the same as you. So yes, it looks like nRF solutions became incompatible on latest Keil versions. But we deprecated the SDK with Keil solutions anyways for new projects and prototypes.&lt;/p&gt;
&lt;p&gt;I believe based on &lt;a href="https://www.keil.com/appnotes/files/apnt_298.pdf"&gt;appnote&lt;/a&gt; provided by the Keil, we might be able to tweak our way to make this code compliable. But I guess this should not be your end goal here. We have absolute no tests that we have done with this compiler at our end. That includes the timings of delays or pre-calculated processing latencies that are crucial for some realtime systems to work. You also might have some issues with certification related to timing stuff on your product and suddenly you will be on your own. I strongly suggest you to revert to the older version where we have more confidence that we can assist you with the issues.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue Compiling Assembly Code in app_error_handler_gcc.c</title><link>https://devzone.nordicsemi.com/thread/484574?ContentTypeID=1</link><pubDate>Wed, 15 May 2024 17:45:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d917d4c-424c-4ef8-b388-a4eb0b8b1318</guid><dc:creator>charlesfish</dc:creator><description>&lt;p&gt;I believe the old version 5 compiler does still work, but it&amp;#39;s not really supported by Keil anymore. So I can fall back to that if necessary.&lt;/p&gt;
&lt;p&gt;It is possible that the only change needed for the app_error_handler_keil.c file is relatively simple. It looks like the __ASM functionality was slightly changed, so I can look into that in the meantime.&lt;/p&gt;
&lt;p&gt;Thanks!!&lt;/p&gt;
&lt;p&gt;Charles&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue Compiling Assembly Code in app_error_handler_gcc.c</title><link>https://devzone.nordicsemi.com/thread/483572?ContentTypeID=1</link><pubDate>Wed, 15 May 2024 17:29:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:992dc872-0a0a-4605-95a1-6a0c4f0fba4c</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Charles,&lt;/p&gt;
&lt;p&gt;Is it still possible to use Arm Compiler version 5 with an older version of Keil?&lt;/p&gt;
&lt;p&gt;We generally recommend using the version of the IDE that the SDK was released and tested with. For nRF5 SDK v17.1.0 and Keil, that would be&amp;nbsp;MDK-ARM version 5.25.&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;am still waiting for feedback about Arm Compiler version 6 compatibility. Additionally, tomorrow, a colleague with Keil will be available, and I could&amp;nbsp;ask him to check if there is a way to make app_error_handler_keil.c work instead.&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue Compiling Assembly Code in app_error_handler_gcc.c</title><link>https://devzone.nordicsemi.com/thread/483557?ContentTypeID=1</link><pubDate>Wed, 15 May 2024 15:06:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3fd68d6-a552-436c-8e08-9b467d0f5169</guid><dc:creator>charlesfish</dc:creator><description>&lt;p&gt;Hey Hieu,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m pretty surprised by this. The Arm Compiler version 5 is no longer supported&amp;nbsp;by Keil.... so does this mean that NRF52 is just no longer compatible with Keil?&lt;/p&gt;
&lt;p&gt;Thanks again!!&lt;/p&gt;
&lt;p&gt;Charles&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue Compiling Assembly Code in app_error_handler_gcc.c</title><link>https://devzone.nordicsemi.com/thread/483512?ContentTypeID=1</link><pubDate>Wed, 15 May 2024 13:09:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9dcf9557-ddcf-45c6-8d24-b3c5183ca2c0</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Charles,&lt;/p&gt;
&lt;p&gt;I am not very certain that &lt;span&gt;app_error_handler_gcc.c is meant to be used with Keil and Arm Compiler version 6. Could you please check?&lt;/span&gt;&lt;span&gt;&lt;br /&gt;I believe it is&amp;nbsp;meant to be compiled with&amp;nbsp;GCC ARM Embedded.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I am&amp;nbsp;also not sure that Arm Compiler version 6 was meant to be supported, but I need to double check this and follow up with you later.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;Please know that&amp;nbsp;due to&amp;nbsp;a short holiday,&amp;nbsp;there will be some delays in our responses in the coming days. Our apologies for the inconvenience.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>