<?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: NOT using the IDE - where to start?</title>
		<link>http://forums.leaflabs.com/topic.php?id=697</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:13:11 +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=697" rel="self" type="application/rss+xml" />

		<item>
			<title>gbulmer on "NOT using the IDE - where to start?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=697#post-5830</link>
			<pubDate>Mon, 01 Aug 2011 12:04:30 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">5830@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I assume the Makefile is correct. in which case make will only rebuild the library if there is a source file which is newer than the library. That is how make works.&#60;/p&#62;
&#60;p&#62;Martin - So, the information that is missing is how to add your own source files to the Makefile set?&#60;br /&#62;
Earlier in this thread the discussion mentions build-targets.mk which should include a list of the source files you need to be included in the final binary. The rues in the other makefiles will work out how to convert from source files for you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>robodude666 on "NOT using the IDE - where to start?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=697#post-5825</link>
			<pubDate>Mon, 01 Aug 2011 08:57:10 +0000</pubDate>
			<dc:creator>robodude666</dc:creator>
			<guid isPermaLink="false">5825@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;For my projects, I modified the make and build-target files to compile my other project files instead of using the library.&#60;/p&#62;
&#60;p&#62;I am using something similar to the &#60;a href=&#34;https://github.com/Ixox/preen/blob/master/Makefile&#34;&#62;PreenFM&#60;/a&#62; project.&#60;/p&#62;
&#60;p&#62;It would be nice, however, to see some documentation on how to build the library once and link your project against it - for those of us less familiar with Makefiles.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Martin on "NOT using the IDE - where to start?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=697#post-5818</link>
			<pubDate>Sun, 31 Jul 2011 09:30:06 +0000</pubDate>
			<dc:creator>Martin</dc:creator>
			<guid isPermaLink="false">5818@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Sorry to open again this old thread, but i'm facing the same issue as augustl. I installed the unix-toolchain as in perry's link and played with the example and wrote my own code and everything is fine.&#60;/p&#62;
&#60;p&#62;I also built the static library using 'make library'. Now i'd like to continue my own project and link it to libmaple.a. What is missing is an example Makefile to build a project with multiple source file which are not in libmaple's directory and link it to libmaple.a and upload it to the device.&#60;/p&#62;
&#60;p&#62;Playing with main.cpp in libmaple's directory is fun to start and get used to the maple board but not really suits bigger projects.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbolivar on "NOT using the IDE - where to start?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=697#post-4037</link>
			<pubDate>Fri, 25 Mar 2011 13:31:38 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">4037@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;augustl,&#60;/p&#62;
&#60;p&#62;yup, as snigelen says, the link perry posted has pretty detailed answers for exactly those questions.&#60;/p&#62;
&#60;p&#62;other files involved in the build chain are libmaple/libmaple/rules.mk and libmaple/wirish/rules.mk.&#60;/p&#62;
&#60;p&#62;each of the individual libraries (in the subdirectories under libmaple/libraries) also has its own rules.mk file.&#60;/p&#62;
&#60;p&#62;you don't really need to understand these details; mostly, just read the tutorial perry linked and be aware that build-targets.mk has the rule to build main.  also check out the &#34;library&#34; top-level Makefile target if you want to build libmaple as a static archive to link against.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>snigelen on "NOT using the IDE - where to start?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=697#post-4026</link>
			<pubDate>Fri, 25 Mar 2011 03:22:33 +0000</pubDate>
			<dc:creator>snigelen</dc:creator>
			<guid isPermaLink="false">4026@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Did you click on the link perry posted?&#60;/p&#62;
&#60;p&#62;&#60;code&#62;make&#60;/code&#62;  will build your program&#60;br /&#62;
&#60;code&#62;make install&#60;/code&#62; will upload it&#60;/p&#62;
&#60;p&#62;&#60;code&#62;make V=1&#60;/code&#62; will show the full command line of every command executed by make (for libmaple, not in general). Maybe you want do do a&#60;br /&#62;
&#60;code&#62;make clean&#60;/code&#62; first.&#60;/p&#62;
&#60;p&#62;The Makefile (and the files included by the Makefile) is pretty complex for libmaple. The files involved are&#60;/p&#62;
&#60;p&#62;Makefile&#60;br /&#62;
build-targets.mk&#60;br /&#62;
libmaple/support/make/build-rules.mk&#60;br /&#62;
libmaple/support/make/build-templates.mk
&#60;/p&#62;</description>
		</item>
		<item>
			<title>augustl on "NOT using the IDE - where to start?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=697#post-4024</link>
			<pubDate>Thu, 24 Mar 2011 16:35:49 +0000</pubDate>
			<dc:creator>augustl</dc:creator>
			<guid isPermaLink="false">4024@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;@mbolivar: The specific problem I'm having is that I'm not able to figure out is how to build the file that I can upload to the maple, and how to do the actual uploading.&#60;/p&#62;
&#60;p&#62;Even more specifically, how do I get from linked .o-files to a .bin-file (whatever that might be).
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbolivar on "NOT using the IDE - where to start?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=697#post-4009</link>
			<pubDate>Wed, 23 Mar 2011 12:13:37 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">4009@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;augustl,&#60;/p&#62;
&#60;p&#62;What specific problems are you having getting the command-line toolchain set up on your system?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "NOT using the IDE - where to start?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=697#post-4002</link>
			<pubDate>Tue, 22 Mar 2011 19:59:06 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">4002@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;augustl - depending on the platform you use, their are likely some make flags which may help you understand what the makefile is doing. They are typed on the command line when you run make.&#60;/p&#62;
&#60;p&#62;For example, this lists common make options:&#60;br /&#62;
&#60;a href=&#34;http://unixhelp.ed.ac.uk/CGI/man-cgi?make&#34; rel=&#34;nofollow&#34;&#62;http://unixhelp.ed.ac.uk/CGI/man-cgi?make&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The options:
&#60;li&#62;
-d   Print debugging information in addition to normal processing.&#60;br /&#62;
-n, --just-print, --dry-run, --recon Print the commands that would be executed, but do not execute them.
&#60;/li&#62;
&#60;p&#62;There is also&#60;br /&#62;
--debug[=FLAGS]&#60;br /&#62;
which can be used to control how much information is printed.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>StephenFromNYC on "NOT using the IDE - where to start?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=697#post-3999</link>
			<pubDate>Tue, 22 Mar 2011 17:48:17 +0000</pubDate>
			<dc:creator>StephenFromNYC</dc:creator>
			<guid isPermaLink="false">3999@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hello augustl,&#60;/p&#62;
&#60;p&#62;Welcome to the Maple.  I think the next year will be very exciting, with the arrival of the new IDE and the new boards, and with new users who want to learn the details.  Eventually, I may become more interested in this level of detail, but in the near future I will be more focused on contributing and testing new features (in particular DMA coupled to isochronous USB data transfers using double-buffers; I think that is possible).&#60;/p&#62;
&#60;p&#62;Is there any guide from Arduino-land which has the right amount of &#34;behind the scene&#34; explanations which will make you happy?  This might result in an improved answer from a user or at least a &#34;that is something which we have on our to do list&#34; answer from the leaflabs crew.&#60;/p&#62;
&#60;p&#62;Of even better, one of the maple/arduino linux code sourcery gurus might be able to take an Arduino guide which you like and quickly translate it it into something for the Maple.&#60;/p&#62;
&#60;p&#62;A few months ago there were some topics related to compiler optimizations settings.  Is this the info which you want?&#60;/p&#62;
&#60;p&#62;On a more practical note, I understand that you do not want to use the IDE.  However, were you able to compile and upload any sketches using the unix-toolchain or the IDE?  This will at least you that everything is installed in the expected places.&#60;/p&#62;
&#60;p&#62;I have not tried to add content to the wiki, but I am looking forward to your contributions.&#60;/p&#62;
&#60;p&#62;Good luck-&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://forums.leaflabs.com/profile.php?id=843&#34;&#62;Stephen from NYC&#60;/a&#62; (full disclosure: I am not a member of the LeafLabs staff)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>augustl on "NOT using the IDE - where to start?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=697#post-3998</link>
			<pubDate>Tue, 22 Mar 2011 14:38:43 +0000</pubDate>
			<dc:creator>augustl</dc:creator>
			<guid isPermaLink="false">3998@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Thanks!&#60;/p&#62;
&#60;p&#62;But it doesn't seem to help me understand what's going on, though. The makefile is just as much of a black box as the IDE.&#60;/p&#62;
&#60;p&#62;I'm not after a holding of hands from A to Z, but any help I can get in making this happen would be greatly appreciated :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>perry on "NOT using the IDE - where to start?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=697#post-3997</link>
			<pubDate>Tue, 22 Mar 2011 14:32:13 +0000</pubDate>
			<dc:creator>perry</dc:creator>
			<guid isPermaLink="false">3997@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi augustl,&#60;/p&#62;
&#60;p&#62;You can use this guide here to stay in emacs-land:&#60;br /&#62;
&#60;a href=&#34;http://leaflabs.com/docs/unix-toolchain.html&#34; rel=&#34;nofollow&#34;&#62;http://leaflabs.com/docs/unix-toolchain.html&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>augustl on "NOT using the IDE - where to start?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=697#post-3996</link>
			<pubDate>Tue, 22 Mar 2011 12:52:55 +0000</pubDate>
			<dc:creator>augustl</dc:creator>
			<guid isPermaLink="false">3996@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;There's two reasons I don't want to use the IDE: I prefer Emacs, and I want to know what's going on under the hood.&#60;/p&#62;
&#60;p&#62;Using the Makefile helps with the former, but not the latter. Especially true when most of your programming experience comes from scripting languages :)&#60;/p&#62;
&#60;p&#62;I'm currently diving into the makefile, in attempt to reverse engineer what commands are being run, where, and on what. I'd appreciate any help I can get, though.&#60;/p&#62;
&#60;p&#62;Regardless, I'll try to add content to &#60;a href=&#34;http://wiki.leaflabs.com/&#34; rel=&#34;nofollow&#34;&#62;http://wiki.leaflabs.com/&#60;/a&#62; as I learn more.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
