<?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 to make map file for sketch ?</title>
		<link>http://forums.leaflabs.com/topic.php?id=559</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:14:41 +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=559" rel="self" type="application/rss+xml" />

		<item>
			<title>x893 on "How to make map file for sketch ?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=559#post-3245</link>
			<pubDate>Tue, 28 Dec 2010 05:16:39 +0000</pubDate>
			<dc:creator>x893</dc:creator>
			<guid isPermaLink="false">3245@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I know how it make under makefile. But i want to know how to make it under Maple. As i see some parameters defines in preference.txt file and may exists option to generate map file.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>perry on "How to make map file for sketch ?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=559#post-3244</link>
			<pubDate>Tue, 28 Dec 2010 02:43:32 +0000</pubDate>
			<dc:creator>perry</dc:creator>
			<guid isPermaLink="false">3244@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;hi,&#60;/p&#62;
&#60;p&#62;If you use the 'unix toolchain' as documented in the leaf documentation, you can simply add the linker flag to generate a map file.&#60;/p&#62;
&#60;p&#62;In the LDFLAGS section of the libmaple makefile, add '-Wl,-Map,build/maple.map' to generate a maple.map file in build/.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>x893 on "How to make map file for sketch ?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=559#post-3192</link>
			<pubDate>Wed, 22 Dec 2010 02:29:23 +0000</pubDate>
			<dc:creator>x893</dc:creator>
			<guid isPermaLink="false">3192@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Very helpfull if custom options can be inserted via preferences.txt
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "How to make map file for sketch ?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=559#post-3189</link>
			<pubDate>Tue, 21 Dec 2010 19:21:20 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">3189@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;mbolivar - I think what x893 might be asking for is an &#34;old fashioned&#34; map file.&#60;br /&#62;
It contains all the symbols in a program, and the offsets of every symbol.&#60;br /&#62;
It was the 'fixup table' for a program loader.&#60;/p&#62;
&#60;p&#62;GDB uses something similar. I think it used to be that symbols weren't stripped be default, for a/s/gdb's benefit, so much of the information was in the symbols table.&#60;/p&#62;
&#60;p&#62;I am pretty sure it is easy to make something like that, but my google-brain isn't working at the moment (due to two bottles of Sheppy's Cider, very yum, hick! :-)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbolivar on "How to make map file for sketch ?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=559#post-3182</link>
			<pubDate>Tue, 21 Dec 2010 03:08:12 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">3182@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;ah, you mean like a linker script?&#60;/p&#62;
&#60;p&#62;the linker scripts for the Maple are here:&#60;br /&#62;
&#60;a href=&#34;https://github.com/leaflabs/libmaple/tree/master/support/ld/maple&#34; rel=&#34;nofollow&#34;&#62;https://github.com/leaflabs/libmaple/tree/master/support/ld/maple&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;flash.ld is what's used for flash builds, and ram.ld is for ram.&#60;/p&#62;
&#60;p&#62;using those is hard-coded into the IDE build system.  however, if you're comfortable with the command line tools, you could always just customize the Makefile. the relevant variable is MEMORY_TARGET, and the relevant section is here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;https://github.com/leaflabs/libmaple/blob/master/Makefile#L52&#34; rel=&#34;nofollow&#34;&#62;https://github.com/leaflabs/libmaple/blob/master/Makefile#L52&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;your other, less near-term alternative is patching that part of the IDE source.  if you decide to go that route, let me know; it can be a little bit of a pain to build the IDE.&#60;/p&#62;
&#60;p&#62;sorry that this is fairly non-specific information; let me know if i can help you further.&#60;/p&#62;
&#60;p&#62;edit: &#34;near-term&#34; -&#38;gt; &#34;less near-term&#34;, oops
&#60;/p&#62;</description>
		</item>
		<item>
			<title>x893 on "How to make map file for sketch ?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=559#post-3171</link>
			<pubDate>Mon, 20 Dec 2010 11:21:41 +0000</pubDate>
			<dc:creator>x893</dc:creator>
			<guid isPermaLink="false">3171@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;map file contain information about placement sections/variables/functions in binary file.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbolivar on "How to make map file for sketch ?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=559#post-3086</link>
			<pubDate>Sun, 12 Dec 2010 01:52:55 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">3086@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;sorry, don't know what you mean by &#34;map file&#34;.&#60;/p&#62;
&#60;p&#62;can you be more specific?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>x893 on "How to make map file for sketch ?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=559#post-3052</link>
			<pubDate>Wed, 08 Dec 2010 11:19:07 +0000</pubDate>
			<dc:creator>x893</dc:creator>
			<guid isPermaLink="false">3052@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi,&#60;br /&#62;
How to make map file for sketch ?&#60;br /&#62;
i try find it in build.......tmp but unsuccessfull.&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
