<?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>GNU Toolchain: region RAM overflowed with stack</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/8547/gnu-toolchain-region-ram-overflowed-with-stack</link><description>I&amp;#39;ve a query regarding the assert message that I see in the application.map file, when I use GNU Toolchain for building the application firmware for NRF51 SOC. 
 Environment: 
 
 Target chip: NRF51822QFAA (16kB RAM) 
 Softdevice: S110 
 SDK: v6.1</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 06 Aug 2015 08:11:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/8547/gnu-toolchain-region-ram-overflowed-with-stack" /><item><title>RE: GNU Toolchain: region RAM overflowed with stack</title><link>https://devzone.nordicsemi.com/thread/31252?ContentTypeID=1</link><pubDate>Thu, 06 Aug 2015 08:11:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea6b0eee-fe55-4f6c-bbdf-3df525f4d227</guid><dc:creator>sidekick</dc:creator><description>&lt;p&gt;Yes @RK, As I mentioned before, I saw this message in the application.map file and I thought, could it be an assert message, but it turns out exactly what you said; It is just printing out what it&amp;#39;s doing and everything is fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GNU Toolchain: region RAM overflowed with stack</title><link>https://devzone.nordicsemi.com/thread/31251?ContentTypeID=1</link><pubDate>Thu, 06 Aug 2015 08:04:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e6a54ee-5d12-43c2-869e-7066c25f09e5</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;The assert passes as __StackLimit is &amp;gt;= __HeapLimit&lt;/p&gt;
&lt;p&gt;where are you seeing this &amp;#39;message&amp;#39;? I don&amp;#39;t think that&amp;#39;s a message at all, just the linker printing out what it&amp;#39;s doing.&lt;/p&gt;
&lt;p&gt;You can see clearly in the map file that the assertion evaluates to 1, it passes, and the link finishes. Once you broke the assertion to return 0, then you fail the link.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GNU Toolchain: region RAM overflowed with stack</title><link>https://devzone.nordicsemi.com/thread/31250?ContentTypeID=1</link><pubDate>Thu, 06 Aug 2015 07:13:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48f95338-4684-4a08-aefd-2dc2c95306a2</guid><dc:creator>sidekick</dc:creator><description>&lt;p&gt;Checked the linker command syntax and it seems that there is no issue with my setup. I made the expression evaluate to &amp;#39;0&amp;#39; and then the build failed with exit status 1.&lt;/p&gt;
&lt;p&gt;collect2: error: ld returned 1 exit status&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>