<?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: Example project for using libmaple without Maple IDE</title>
		<link>http://forums.leaflabs.com/topic.php?id=1910</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:06:12 +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=1910" rel="self" type="application/rss+xml" />

		<item>
			<title>dipspb on "Example project for using libmaple without Maple IDE"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1910&amp;page=2#post-21862</link>
			<pubDate>Sat, 05 Jan 2013 13:11:31 +0000</pubDate>
			<dc:creator>dipspb</dc:creator>
			<guid isPermaLink="false">21862@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Pull req sent to &#60;a href=&#34;https://github.com/mbolivar/example-libmaple-project/pull/1&#34; rel=&#34;nofollow&#34;&#62;https://github.com/mbolivar/example-libmaple-project/pull/1&#60;/a&#62;&#60;br /&#62;
Helper script has been converted to Makefile to use it in a more natural way with Eclipse CDT.&#60;/p&#62;
&#60;p&#62;regards,&#60;br /&#62;
Dmitry
&#60;/p&#62;</description>
		</item>
		<item>
			<title>feurig on "Example project for using libmaple without Maple IDE"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1910&amp;page=2#post-11509</link>
			<pubDate>Mon, 02 Jul 2012 19:32:42 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">11509@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Its nice to see a couple of approaches. &#60;/p&#62;
&#60;p&#62;I prefer my approach since the source,its dependancies and the make file are all in the same tree.&#60;br /&#62;
That way i can have an scm for the project and its xcode project and keep libmaple (current) stock and in its own directory.&#60;br /&#62;
I wouldnt have gotten there without your example.&#60;br /&#62;
I am really liking some of the other changes (like the bugfix for time.h and the hardware/software Wire library), and will try to make my example presentable. Unfortunately my current focus is on using it and you have given me something that &#34;works for me&#34;.&#60;/p&#62;
&#60;p&#62;We should pester Perry or whoever to make it so that you don't have to build from the libmaple directory or so that we can call the libmaple Makefile without the extra command line stuff. You seem to have enough on your plate :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbolivar on "Example project for using libmaple without Maple IDE"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1910&amp;page=2#post-11505</link>
			<pubDate>Mon, 02 Jul 2012 16:39:52 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">11505@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Actually, how about this? Hackish, but it does work:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;https://github.com/mbolivar/example-libmaple-project/commit/2244217c7fb9be7318dc279f44018b77b5111248&#34; rel=&#34;nofollow&#34;&#62;https://github.com/mbolivar/example-libmaple-project/commit/2244217c7fb9be7318dc279f44018b77b5111248&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbolivar on "Example project for using libmaple without Maple IDE"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1910&amp;page=2#post-11504</link>
			<pubDate>Mon, 02 Jul 2012 15:39:03 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">11504@http://forums.leaflabs.com/</guid>
			<description>&#60;blockquote&#62;&#60;p&#62;
The make system isn't broken the implementation is a clunky. Imho extra layers and steps don't really help here.
&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;fair enough. i confess that before joining leaflabs, i'd never used make, so i've been picking things up piecemeal as necessary. i suppose i should just go ahead and really RTFM before trying to sort this out. any help smoothing out the bumps would be welcome ;).
&#60;/p&#62;</description>
		</item>
		<item>
			<title>feurig on "Example project for using libmaple without Maple IDE"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1910&amp;page=2#post-11503</link>
			<pubDate>Mon, 02 Jul 2012 15:19:42 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">11503@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;The make system isn't broken the implementation is a clunky. Imho extra layers and steps don't really help here.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbolivar on "Example project for using libmaple without Maple IDE"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1910&amp;page=2#post-11500</link>
			<pubDate>Mon, 02 Jul 2012 14:46:29 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">11500@http://forums.leaflabs.com/</guid>
			<description>&#60;blockquote&#62;&#60;p&#62;
I had some &#34;fun&#34; issues getting the builds to include extra modules header files&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;hm. yeah, i see what you did, and why it's the shortest path to working.&#60;/p&#62;
&#60;p&#62;any pointers on what the done thing is in situations like this? i believe most people would reach for pkg-config here, but i'm leery of the extra dependency. i'm pretty staunchly against the autotools, for two reasons:&#60;/p&#62;
&#60;p&#62;(1) i don't know how to use them, and they seem hard to learn&#60;br /&#62;
(2) they doesn't seem well-adapted to the modern situation where everyone just uses the source repository, instead of source dumps produced by the developers&#60;/p&#62;
&#60;p&#62;(1) worries me since as the current libmaple maintainer, i'm likely to really screw it up if libmaple uses autotools. (2) worries me for hackability: requiring that all contributors know how to drive the autotools seems to really steepen the learning curve.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>feurig on "Example project for using libmaple without Maple IDE"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1910&amp;page=2#post-11494</link>
			<pubDate>Mon, 02 Jul 2012 13:41:23 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">11494@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;poslathian: thanks. It was a fun talk to give sparked a lot of interest in libmaple and the platform in general.&#60;/p&#62;
&#60;p&#62;mbolivar: I had some &#34;fun&#34; issues getting the builds to include extra modules header files and finally wound up putting my dependencies in a libraries folder and adding the following glop to the rules.mk in my project directories. &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;CFLAGS_$(d) += -I$(EXAMPLE_INCLUDE_DIR) -I$(d)/libraries/SDfat

.....

USER_MODULES_MODULES += $(d)/libraries/SDfat
$(foreach m,$(USER_MODULES_MODULES),$(eval $(call LIBMAPLE_MODULE_template,$(m))))&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;It ain't pretty or quite the way I want it but it works.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>poslathian on "Example project for using libmaple without Maple IDE"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1910&amp;page=2#post-11458</link>
			<pubDate>Fri, 29 Jun 2012 15:32:43 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">11458@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;great slides, thanks feurig!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>feurig on "Example project for using libmaple without Maple IDE"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1910&amp;page=2#post-11437</link>
			<pubDate>Thu, 28 Jun 2012 02:07:56 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">11437@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;The talk notes are at &#60;a href=&#34;http://www.suspectdevices.com/blahg/arm/bacon/baco-matic-5000-talk-notes/&#34; rel=&#34;nofollow&#34;&#62;http://www.suspectdevices.com/blahg/arm/bacon/baco-matic-5000-talk-notes/&#60;/a&#62; and the slides are at &#60;a href=&#34;http://suspectdevices.com/TheBaco-matic5000-OSB/&#34; rel=&#34;nofollow&#34;&#62;http://suspectdevices.com/TheBaco-matic5000-OSB/&#60;/a&#62;, when they post the audio I will link it to the notes.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbolivar on "Example project for using libmaple without Maple IDE"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1910#post-11418</link>
			<pubDate>Wed, 27 Jun 2012 11:31:46 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">11418@http://forums.leaflabs.com/</guid>
			<description>&#60;blockquote&#62;&#60;p&#62;
Was just walking through a sample libmaple install for my talk at open source bridge tomorrow. &#60;a href=&#34;http://opensourcebridge.org/sessions/847&#34; rel=&#34;nofollow&#34;&#62;http://opensourcebridge.org/sessions/847&#60;/a&#62;&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;Very cool! Will there be a video or slides up online?&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
As for the example it would be nice to be able to include extra libraries in the project .mk file and it would be nice to not have to pass so much through the environment.&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;Passing things through the environment is a definite weakness, I agree, especially for build-server type situations where you want to guarantee identical configuration.&#60;/p&#62;
&#60;p&#62;I don't understand what you mean about libraries, though. Can't their sources be added to cSRCS_$(d) etc., and their include directories be added via CFLAGS and CXXFLAGS? That'd let you have libraries in your project directory without needing to change your sources if e.g. the libraries get merged into our libmaple tree.&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
z.b. in a perfect world you could modify the make file and just make/make install from the project directory itself. Any optional libraries (ie SDfat) could go under the project directory. I am thinking about this from a SCM and an IDE perspective.&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;I agree that this would be much better. The libmaple build system was originally written by a Linux kernel hacker, and it has a similar I-am-the-center-of-the-universe way of looking at things. Maybe we can draw some inspiration from the way out-of-tree kernel modules build themselves for further improving things.&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
When I get time I will take a shot at this myself.&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;That'd be awesome.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>feurig on "Example project for using libmaple without Maple IDE"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1910#post-11402</link>
			<pubDate>Tue, 26 Jun 2012 23:03:18 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">11402@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;As for the example it would be nice to be able to include extra libraries in the project .mk file and it would be nice to not have to pass so much through the environment. &#60;/p&#62;
&#60;p&#62;z.b. in a perfect world you could modify the make file and just make/make install from the project directory itself. Any optional libraries (ie SDfat) could go under the project directory. I am thinking about this from a SCM and an IDE perspective. &#60;/p&#62;
&#60;p&#62;When I get time I will take a shot at this myself. &#60;/p&#62;
&#60;p&#62;The example is still much needed and a massive improvement from the &#34;rename your file and build it here&#34;.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>feurig on "Example project for using libmaple without Maple IDE"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1910#post-11401</link>
			<pubDate>Tue, 26 Jun 2012 22:58:33 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">11401@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;No problem. Was just walking through a sample libmaple install for my talk at open source bridge tomorrow. &#60;a href=&#34;http://opensourcebridge.org/sessions/847&#34; rel=&#34;nofollow&#34;&#62;http://opensourcebridge.org/sessions/847&#60;/a&#62; I am glad you were here to fix it. :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbolivar on "Example project for using libmaple without Maple IDE"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1910#post-11395</link>
			<pubDate>Tue, 26 Jun 2012 22:17:55 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">11395@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Should be fixed now; sorry for the mistake.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbolivar on "Example project for using libmaple without Maple IDE"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1910#post-11394</link>
			<pubDate>Tue, 26 Jun 2012 22:17:46 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">11394@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Thanks for the report. It's likely a botched merge conflict resolution in the Makefile. I'll take a look.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>feurig on "Example project for using libmaple without Maple IDE"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1910#post-11392</link>
			<pubDate>Tue, 26 Jun 2012 21:47:53 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">11392@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;It seems that the fancy include system used to build the ld files cant find the .inc s
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
