<?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: Compile Error: Not enough space compilation terminated.</title>
		<link>http://forums.leaflabs.com/topic.php?id=111</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:19:35 +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=111" rel="self" type="application/rss+xml" />

		<item>
			<title>bnewbold on "Compile Error: Not enough space compilation terminated."</title>
			<link>http://forums.leaflabs.com/topic.php?id=111#post-661</link>
			<pubDate>Tue, 03 Aug 2010 00:04:31 +0000</pubDate>
			<dc:creator>bnewbold</dc:creator>
			<guid isPermaLink="false">661@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Seems like you did run out of flash... any idea what the total program size is like? Eg, how many lines of code and how many large buffers/strings? I knew libmaple was getting bloated for use with RAM but i'm surprised all the flash got used up attempting to compile a relatively simple library. &#60;/p&#62;
&#60;p&#62;I'm assuming this SD library is targeted to the Arduino? This is a long shot, but if it uses a lot of &#34;int&#34; variables or arrays those will take up more bytes on a 32bit chip; you could try replacing with uint8 or uint16.&#60;/p&#62;
&#60;p&#62;The easiest way to cut a couple kilobytes of useless strings and code is to disable all the ASSERT() functions embedded in libmaple; each instance stores a large string with the exact file and line number, which is reported over Serial2 if the assertion fails. We've been meaning to expose a compiler flag or just remove all instances of these debugging strings, but for now you would have to go in by hand and modify the file util.h and set MAPLE_DEBUG to 0.&#60;/p&#62;
&#60;p&#62;Having the full breakdown of memory usage by file is really important for this; i'll make sure to modify the output for the next IDE release.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>leaflabsandy on "Compile Error: Not enough space compilation terminated."</title>
			<link>http://forums.leaflabs.com/topic.php?id=111#post-650</link>
			<pubDate>Thu, 29 Jul 2010 20:58:30 +0000</pubDate>
			<dc:creator>leaflabsandy</dc:creator>
			<guid isPermaLink="false">650@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Error: Not enough space compilation terminated.&#60;/p&#62;
&#60;p&#62;Platform: Win XP SP3&#60;br /&#62;
Device: Maple rev. 3 red&#60;br /&#62;
IDE: 0.6.0&#60;/p&#62;
&#60;p&#62;I was just trying to compile a SD library and demo code and got this.&#60;/p&#62;
&#60;p&#62;Compile message:&#60;/p&#62;
&#60;p&#62;Going to build using 'make' (ARM)&#60;br /&#62;
	Compiling core...&#60;/p&#62;
&#60;p&#62;C:\Maple\maple-ide-0.0.6\hardware\leaflabs\cores\maple\/usb_lib.h:25:&#60;br /&#62;
fatal error: C:\Maple\maple-ide-0.0.6\hardware\leaflabs\cores\maple\/usb_init.h:&#60;br /&#62;
Not enough space compilation terminated.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
