<?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>nRF52832 (SDK 11.0.0): Best way to reduce the Heap Size to 0 bytes</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/33112/nrf52832-sdk-11-0-0-best-way-to-reduce-the-heap-size-to-0-bytes</link><description>Hi All, 
 
 Our application WILL NEVER dynamically allocate memory and thus we&amp;#39;ll never need to use the heap. Currently, our SDK carves out 8K of memory for the heap in &amp;quot;gcc_startup_nrf52.s&amp;quot;. Which file do I have to modify in order to zero out the heap</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Sep 2018 11:16:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/33112/nrf52832-sdk-11-0-0-best-way-to-reduce-the-heap-size-to-0-bytes" /><item><title>RE: nRF52832 (SDK 11.0.0): Best way to reduce the Heap Size to 0 bytes</title><link>https://devzone.nordicsemi.com/thread/149005?ContentTypeID=1</link><pubDate>Mon, 17 Sep 2018 11:16:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eab8b102-265f-44b7-a03e-4be0e9482e98</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;That would be for using armgcc and make, and you will find several lines beginning with &amp;quot;ASMFLAGS += &amp;quot; in the Makefile. The line should be added in the Makefile, together with those other similar entries.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 (SDK 11.0.0): Best way to reduce the Heap Size to 0 bytes</title><link>https://devzone.nordicsemi.com/thread/148971?ContentTypeID=1</link><pubDate>Mon, 17 Sep 2018 09:25:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:811c4225-3de3-4c88-a7c9-2c525845bb08</guid><dc:creator>Yasaswini</dc:creator><description>&lt;p&gt;Hi, may i know where to find the ASMFLAGS??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 (SDK 11.0.0): Best way to reduce the Heap Size to 0 bytes</title><link>https://devzone.nordicsemi.com/thread/127216?ContentTypeID=1</link><pubDate>Fri, 06 Apr 2018 12:27:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3c06115-95a3-44c2-8cc8-69d6c5907598</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you use make, add &lt;code&gt;__HEAP_SIZE=0&lt;/code&gt; to &lt;code&gt;ASMFLAGS&lt;/code&gt; (i.e. &lt;code&gt;ASMFLAGS += -D__HEAP_SIZE=0&lt;/code&gt;).&lt;/p&gt;
&lt;p&gt;If you use Segger Embedded Studio, you can set &amp;quot;Heap Size&amp;quot; in the project Options (&amp;quot;Project&amp;quot; menu -&amp;gt; &amp;quot;Edit Options...&amp;quot;), under &amp;quot;Code&amp;quot; -&amp;gt; &amp;quot;Runtime Memory Area&amp;quot;.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>