<?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>Determine RAM usage with arm-gcc</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23119/determine-ram-usage-with-arm-gcc</link><description>Hi, 
 I have an application that utilizes the dual bank bootloader and s132 soft device on the nRF52832 chip. I am trying to determine the total RAM used and can&amp;#39;t seem to find a simple solution. I am using arm-gcc to compile. Is there a simple way to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 29 Jun 2017 09:29:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23119/determine-ram-usage-with-arm-gcc" /><item><title>RE: Determine RAM usage with arm-gcc</title><link>https://devzone.nordicsemi.com/thread/90952?ContentTypeID=1</link><pubDate>Thu, 29 Jun 2017 09:29:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72b88668-08c4-4828-b4dd-9679e1a56952</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;You can use the &lt;em&gt;size&lt;/em&gt; utility for gcc.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$ size file.out

   text       data        bss        dec        hex    filename
 0x1408       0x18      0x81c       7228       1c3c    file.out
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;data + bss is stored in RAM&lt;/p&gt;
&lt;p&gt;You can read more about it here: &lt;a href="https://mcuoneclipse.com/2013/04/14/text-data-and-bss-code-and-data-size-explained/"&gt;mcuoneclipse.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>