<?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>How large is the nrf51822&amp;#39;s stack?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5259/how-large-is-the-nrf51822-s-stack</link><description>I&amp;#39;m concerned about stack overflow as I consider using a linear fit function which declares 5 local variables as floats and accepts 5 pointers. 
 5floats * 4B/float + 5pointers * 4B /pointer =&amp;gt; 40B?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 26 Jan 2015 14:35:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5259/how-large-is-the-nrf51822-s-stack" /><item><title>RE: How large is the nrf51822's stack?</title><link>https://devzone.nordicsemi.com/thread/18401?ContentTypeID=1</link><pubDate>Mon, 26 Jan 2015 14:35:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:465923bf-9cc6-4240-9967-b677ddbb6a9b</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I agree with Hoang, by default we declare 2KB of stack for application (in arm_startup_nrf51.s file) and it should be plenty of space for your variables.
If you think the answer from Hoang is correct, please accept the answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How large is the nrf51822's stack?</title><link>https://devzone.nordicsemi.com/thread/18400?ContentTypeID=1</link><pubDate>Fri, 23 Jan 2015 08:21:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e6927ca-3ddb-44ed-b0d3-40f0ac4c0954</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;No worries, there are plenty of space left for you to use.  You can declare 10 times that without any problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>