<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/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/"><channel><title>RTX5 on GCC</title><link>https://community.arm.com/developer/tools-software/oss-platforms/f/gnu-toolchain-forum/48043/rtx5-on-gcc</link><description> Hi All, 
 I&amp;#39;m trying to port an already working blinky application to GCC. I have it working on Keil uVision (AC6) and I&amp;#39;m using RTX5. 
 I&amp;#39;m targeting the SAMV71Q21B. I&amp;#39;m using CMSIS-Build (cbuild) provided with CMSIS 5.7.0 to generate the necessary</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: RTX5 on GCC</title><link>https://community.arm.com/thread/168651?ContentTypeID=1</link><pubDate>Sat, 14 Nov 2020 15:43:13 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:9dcda101-6a30-4fd8-a956-e9f081be508f</guid><dc:creator>gkuhn</dc:creator><description>&lt;p&gt;My application &amp;quot;just works&amp;quot; with RTX5 and RTOS2.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTX5 on GCC</title><link>https://community.arm.com/thread/168644?ContentTypeID=1</link><pubDate>Fri, 13 Nov 2020 17:08:28 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:5297ef05-47de-4014-8103-62300a251f98</guid><dc:creator>gkuhn</dc:creator><description>&lt;p&gt;Indeed, this was the reason for the hard fault. SVC_Table.S defines a section &amp;quot;.svc_table which I had to manually add to the linker file.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Now it doesn&amp;#39;t hardfault. On to the next issue: osDelay doesn&amp;#39;t wait.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Anyway, Is there a suite of linker scripts/makefiles available for getting RTX5 working on GCC? Or a guide on how to do it?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Just in case I&amp;#39;m inadvertently omitting something else out&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTX5 on GCC</title><link>https://community.arm.com/thread/168643?ContentTypeID=1</link><pubDate>Fri, 13 Nov 2020 16:11:03 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:bcffbf34-b338-42c0-b903-2339bd0e5177</guid><dc:creator>gkuhn</dc:creator><description>&lt;p&gt;I am not sure if this is part of it but looking at the symbol table, I see SVC_Count doesn&amp;#39;t have a load address.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Output of `arm-none-eabi-readelf.exe&amp;quot; -s Blinky.elf | less`:&lt;/p&gt;
&lt;p&gt;170: 00400271 6 FUNC WEAK DEFAULT 1 DACC_Handler&lt;br /&gt; 171: 00000000 0 NOTYPE GLOBAL DEFAULT 9 SVC_Count&lt;br /&gt; 172: 00400271 6 FUNC WEAK DEFAULT 1 DebugMon_Handler&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Whereas, with the AC5 build:&lt;/p&gt;
&lt;p&gt;554: 0040040b 74 FUNC GLOBAL DEFAULT 1 __user_setup_stackheap&lt;br /&gt; 555: 00400454 4 OBJECT GLOBAL HIDDEN 1 SVC_Count&lt;br /&gt; 556: 00400459 4 FUNC GLOBAL HIDDEN 1 LED_GetCount&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>