<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>LeafLabs Garden &#187; Topic: How can I easily find how much &#34;Ram&#34; is used in a sketch?</title>
		<link>http://forums.leaflabs.com/topic.php?id=80</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:19:37 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forums.leaflabs.com/search.php</link>
		</textInput>
		<atom:link href="http://forums.leaflabs.com/rss.php?topic=80" rel="self" type="application/rss+xml" />

		<item>
			<title>bnewbold on "How can I easily find how much &#34;Ram&#34; is used in a sketch?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=80#post-440</link>
			<pubDate>Thu, 01 Jul 2010 16:00:32 +0000</pubDate>
			<dc:creator>bnewbold</dc:creator>
			<guid isPermaLink="false">440@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Looks to me like 11k? Not sure why the arm-none-eabi-size output is different from when compiling with libmaple, i'll have perry take a peak
&#60;/p&#62;</description>
		</item>
		<item>
			<title>leaflabsandy on "How can I easily find how much &#34;Ram&#34; is used in a sketch?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=80#post-437</link>
			<pubDate>Thu, 01 Jul 2010 13:07:22 +0000</pubDate>
			<dc:creator>leaflabsandy</dc:creator>
			<guid isPermaLink="false">437@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;&#38;lt;windows XP SP3&#38;gt;&#60;/p&#62;
&#60;p&#62;Show me... where is the ram usage?&#60;/p&#62;
&#60;p&#62;This is the upload text - to flash&#60;/p&#62;
&#60;p&#62;C:\DOCUME~1\HP_ADM~1.H_A\LOCALS~1\Temp\build2541598310563497049.tmp\Instruction_Test_R4.cpp.bin  :&#60;br /&#62;
section    size   addr&#60;br /&#62;
.data   11296      0&#60;br /&#62;
Total   11296&#60;/p&#62;
&#60;p&#62;Binary sketch size is reported above. Check it against a 100000 byte maximum.&#60;br /&#62;
Loading via dfu-util&#60;br /&#62;
Resetting to bootloader via DTR pulse&#60;br /&#62;
Searching for DFU device [1EAF:0003]...&#60;br /&#62;
Found it!&#60;/p&#62;
&#60;p&#62;Opening USB Device 0x1eaf:0x0003...&#60;br /&#62;
Found Runtime: [0x1eaf:0x0003] devnum=1, cfg=0, intf=0, alt=1, name=&#34;DFU Program FLASH 0x08005000&#34;&#60;br /&#62;
Setting Configuration 1...&#60;br /&#62;
Claiming USB DFU Interface...&#60;br /&#62;
Setting Alternate Setting ...&#60;br /&#62;
Determining device status: state = dfuIDLE, status = 0&#60;br /&#62;
dfuIDLE, continuing&#60;br /&#62;
Transfer Size = 0x0400&#60;br /&#62;
bytes_per_hash=225&#60;br /&#62;
Starting download: [##################################################] finished!&#60;br /&#62;
state(8) = dfuMANIFEST-WAIT-RESET, status(0) = No error condition is present&#60;br /&#62;
Done!&#60;br /&#62;
Resetting USB to switch back to runtime mode&#60;/p&#62;
&#60;p&#62;---------------------------------------------------------------------------------&#60;br /&#62;
And this is the compile message ...&#60;/p&#62;
&#60;p&#62;Going to build using 'make' (ARM)&#60;br /&#62;
	Compiling core...&#60;br /&#62;
	Compiling any libs...&#60;br /&#62;
	Compiling the sketch...&#60;/p&#62;
&#60;p&#62; In function 'void loop()':&#60;/p&#62;
&#60;p&#62;	running linker asynchronously...&#60;br /&#62;
	running obj copy asynchronously...&#60;br /&#62;
	running size asynchronously...&#60;/p&#62;
&#60;p&#62;C:\DOCUME~1\HP_ADM~1.H_A\LOCALS~1\Temp\build2541598310563497049.tmp\Instruction_Test_R5.cpp.bin  :&#60;br /&#62;
section    size   addr&#60;br /&#62;
.data   11296      0&#60;br /&#62;
Total   11296&#60;/p&#62;
&#60;p&#62;Binary sketch size is reported above. Check it against a 100000 byte maximum.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>poslathian on "How can I easily find how much &#34;Ram&#34; is used in a sketch?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=80#post-435</link>
			<pubDate>Thu, 01 Jul 2010 12:57:26 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">435@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;The ide console window dumps a bunch of info after the compile process. One of these messages lists the sizes of the various code sections. When compiling to RAM, the final total is all stored in ram, and thus your usage. When compiling to flash, the sections you care about are the .bss and the .data sections. The .text section is stored in flash. &#60;/p&#62;
&#60;p&#62;Hope that helps.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>leaflabsandy on "How can I easily find how much &#34;Ram&#34; is used in a sketch?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=80#post-432</link>
			<pubDate>Thu, 01 Jul 2010 05:44:40 +0000</pubDate>
			<dc:creator>leaflabsandy</dc:creator>
			<guid isPermaLink="false">432@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;How can I easily find how much &#34;Ram&#34; is used in a sketch?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
