<?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>GCC/Eclipse integration generating non-working executable?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12254/gcc-eclipse-integration-generating-non-working-executable</link><description>I followed the instructions and comments in devzone.nordicsemi.com/.../ . I built a project around the ble_app_gls example (with a couple of minor changes such as using -DNRF_LOG_USES_RTT=1) . The project compiles and runs just fine if I run it under</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 03 Mar 2016 19:01:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12254/gcc-eclipse-integration-generating-non-working-executable" /><item><title>RE: GCC/Eclipse integration generating non-working executable?</title><link>https://devzone.nordicsemi.com/thread/46354?ContentTypeID=1</link><pubDate>Thu, 03 Mar 2016 19:01:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37bd0180-a2b3-4841-ac6d-c6dc75726572</guid><dc:creator>Pierre Landau</dc:creator><description>&lt;p&gt;OK, after messing with stack and heap sizes, I was able to get the thing to start, and even the debugger appears to be running.  Thanks for your help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GCC/Eclipse integration generating non-working executable?</title><link>https://devzone.nordicsemi.com/thread/46353?ContentTypeID=1</link><pubDate>Thu, 03 Mar 2016 18:39:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dea8a7ba-f16c-49b4-b098-b2fdddc50fd2</guid><dc:creator>Pierre Landau</dc:creator><description>&lt;p&gt;Thanks! this helps explain what&amp;#39;s going on.  OTOH, the ble_app_gls demo app overflows RAM when built in GCC (apparently not so in Keil) so I&amp;#39;m going to have to do some tap dancing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GCC/Eclipse integration generating non-working executable?</title><link>https://devzone.nordicsemi.com/thread/46352?ContentTypeID=1</link><pubDate>Wed, 02 Mar 2016 11:47:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e21b5fa3-9b6f-4a99-860e-3a33ab4605fb</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Are you using a 16K RAM variant of the nRF51? In that case you&amp;#39;d have to adjust the linker settings since the default is configuration is for the 32K variant. Difference between Keil and GCC in this case is that the GCC links the call stack to top of RAM, while Keil places it just above the globals. In other words, it may still work with Keil even with wrong linker settings.&lt;/p&gt;
&lt;p&gt;E.g., 32K ram configuration in ble_app_gls_gcc_nrf51.ld from SDK 11 :&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;MEMORY
{
  FLASH (rx) : ORIGIN = 0x1b000, LENGTH = 0x25000
  RAM (rwx) :  ORIGIN = 0x20001f00, LENGTH = 0x6100
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;and same for 16K:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;MEMORY
{
  FLASH (rx) : ORIGIN = 0x1b000, LENGTH = 0x25000
  RAM (rwx) :  ORIGIN = 0x20001f00, LENGTH = 0x2100  
}
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GCC/Eclipse integration generating non-working executable?</title><link>https://devzone.nordicsemi.com/thread/46351?ContentTypeID=1</link><pubDate>Tue, 01 Mar 2016 21:00:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:624e80ef-21c1-48c1-8963-d56bde9f931e</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Try this &lt;a href="http://embeddedsoftdev.blogspot.ca/p/ehal-nrf51.html"&gt;blog site for Eclipse + GCC&lt;/a&gt;
It has examples source code with full Eclipse project file.  Debugging and flashing info with OpenOCD.  Parallel programming of nRF5x series with IDAPnRFProg without requiring to merge hex.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>