<?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: Building Maple IDE from git source</title>
		<link>http://forums.leaflabs.com/topic.php?id=10444</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:08:27 +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=10444" rel="self" type="application/rss+xml" />

		<item>
			<title>feurig on "Building Maple IDE from git source"</title>
			<link>http://forums.leaflabs.com/topic.php?id=10444&amp;page=2#post-25726</link>
			<pubDate>Wed, 08 May 2013 13:19:22 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">25726@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I think that makes perfect sense. This might also lead the way for other classes to be developed.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>feurig on "Building Maple IDE from git source"</title>
			<link>http://forums.leaflabs.com/topic.php?id=10444&amp;page=2#post-25690</link>
			<pubDate>Fri, 03 May 2013 17:11:26 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">25690@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Bingo!!!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mlundinse on "Building Maple IDE from git source"</title>
			<link>http://forums.leaflabs.com/topic.php?id=10444&amp;page=2#post-25684</link>
			<pubDate>Fri, 03 May 2013 04:55:18 +0000</pubDate>
			<dc:creator>mlundinse</dc:creator>
			<guid isPermaLink="false">25684@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Some more thoughts on USB and defines/buildflags.&#60;/p&#62;
&#60;p&#62;Presently the main control of USB in the build is done for the libmaple parts&#60;br /&#62;
that are processor but not board specific, by having the usb_lib structures in&#60;br /&#62;
usb_cdcacm.c defined as _weak so they can be overridden. For the board specific&#60;br /&#62;
wirish part by BOARD_HAVE_SERIALUSB defined in boards.h and then used by usb_serial.cpp&#60;br /&#62;
and boards_setup.cpp.&#60;/p&#62;
&#60;p&#62;I suggets that we:&#60;br /&#62;
Use the USB_TYPE flag to control what usb device library gets built.&#60;/p&#62;
&#60;p&#62;Rename BOARD_HAVE_SERIALUSB to BOARD_HAVE_USB and implement BOARD_HAVE_SERIALUSB&#60;br /&#62;
as BOARD_HAVE_USB &#38;amp;&#38;amp; ((defined(USB_TYPE) &#38;amp;&#38;amp; (USB_TYPE == USB_SERIAL)) &#124;&#124; !defined(USB_TYPE)) &#60;/p&#62;
&#60;p&#62;I think will give us easier control over what gets built and makes it easier to add&#60;br /&#62;
more USB device functionality.&#60;/p&#62;
&#60;p&#62;Comments ?&#60;br /&#62;
Reagrds&#60;br /&#62;
Magnus
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mlundinse on "Building Maple IDE from git source"</title>
			<link>http://forums.leaflabs.com/topic.php?id=10444#post-25636</link>
			<pubDate>Thu, 02 May 2013 13:50:02 +0000</pubDate>
			<dc:creator>mlundinse</dc:creator>
			<guid isPermaLink="false">25636@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Agreed, a build flag USB_TYPE with possible values USB_MIDI and USB_SERIAL that defaults to USB_SERIAL when unset, this will play nice with both IDE based builds, where it can be set in boards.txt and makefile based builds.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>feurig on "Building Maple IDE from git source"</title>
			<link>http://forums.leaflabs.com/topic.php?id=10444#post-25598</link>
			<pubDate>Wed, 01 May 2013 17:40:41 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">25598@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;gbulmer, No I hadn't my long career as a sysadmin has given me great disdain for all things java (... but if it works well and I don't have to write it ...)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "Building Maple IDE from git source"</title>
			<link>http://forums.leaflabs.com/topic.php?id=10444#post-25597</link>
			<pubDate>Wed, 01 May 2013 17:24:25 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">25597@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;feurig - have you considered NetBeans, which is relatively simple?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>feurig on "Building Maple IDE from git source"</title>
			<link>http://forums.leaflabs.com/topic.php?id=10444#post-25596</link>
			<pubDate>Wed, 01 May 2013 17:24:04 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">25596@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I created a separate board called maple_midi and in its makefile define USB_TYPE=midi that seemed to work ok for sorting out a bunch of it. It might make more sense to define USB_TYPE and not have created a separate board but I wanted to be able to define where the hardware midi was on a per design basis.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mlundinse on "Building Maple IDE from git source"</title>
			<link>http://forums.leaflabs.com/topic.php?id=10444#post-25595</link>
			<pubDate>Wed, 01 May 2013 17:19:20 +0000</pubDate>
			<dc:creator>mlundinse</dc:creator>
			<guid isPermaLink="false">25595@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I have made my own single makefile without using the libmaple makefiles to build a simple main.cpp from a remote directory, then move exactly this build sequence into the ArmCompiler.java, not a pretty way to build stuff, but it works until we can run the whole make thing from the IDE. Having this structure should make it easier to move to a make based build from inside the IDE.&#60;/p&#62;
&#60;p&#62;I got this mostly working, needs more testing though.&#60;/p&#62;
&#60;p&#62;The usb stuff I must think about a bit since the midi and serial are not happy together due to the weakly defined global structures in the usb_lib, so sending both tothe linker is a recipy for disaster
&#60;/p&#62;</description>
		</item>
		<item>
			<title>feurig on "Building Maple IDE from git source"</title>
			<link>http://forums.leaflabs.com/topic.php?id=10444#post-25594</link>
			<pubDate>Wed, 01 May 2013 16:33:29 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">25594@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;bnewbold,&#60;/p&#62;
&#60;p&#62;As someone who teaches this stuff I would have unfortunately have to say yes. For me I build everything from xcode and makefiles and use git extensively and wouldn't care if the whole thing rolled over and died. But for the Karaoke crowd the blue screen and the moving yellow letters is critical. I am even more interested in getting an IDE (although I would happily ditch the heavy handed java pile for something a little more lightweight) that would allow people to get started making and modifying their own midi devices. &#60;/p&#62;
&#60;p&#62;It wouldn't take much to extend the existing maple system to allow the boards to identify themselves (why the arduino people never figured this out is completely beyond me). Though this is much more easy to implement in midi or other protocols.&#60;br /&#62;
I plan to spend the month of june at ITP Summer camp working on this.&#60;br /&#62;
&#60;a href=&#34;http://www.suspectdevices.com/blahg/proposals/lets-get-loaded-a-midi-sysex-ecosystem-for-loading-and-debugging-code/&#34; rel=&#34;nofollow&#34;&#62;http://www.suspectdevices.com/blahg/proposals/lets-get-loaded-a-midi-sysex-ecosystem-for-loading-and-debugging-code/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bnewbold on "Building Maple IDE from git source"</title>
			<link>http://forums.leaflabs.com/topic.php?id=10444#post-25593</link>
			<pubDate>Wed, 01 May 2013 16:10:39 +0000</pubDate>
			<dc:creator>bnewbold</dc:creator>
			<guid isPermaLink="false">25593@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;feurig: do you think the IDE is even necessary any more? The toolchain situation has improved greatly, and I think if I was going to do this all over again today, i'd probably create tarballs for each platform including:&#60;/p&#62;
&#60;ul&#62;
&#60;li&#62;Sublime Text or some other text editor with minimal hotkey support for building
&#60;/li&#62;
&#60;li&#62;gcc-arm-embedded toolchain
&#60;/li&#62;
&#60;li&#62;upload tools
&#60;/li&#62;
&#60;li&#62;gtkterm or similar serial console
&#60;/li&#62;
&#60;li&#62;libmaple in a subdirectory
&#60;/li&#62;
&#60;li&#62;HTML docs
&#60;/li&#62;
&#60;li&#62;template projects
&#60;/li&#62;
&#60;/ul&#62;
&#60;p&#62;The cognitive leap between the Maple IDE and tools like the above doesn't seem very large to me. Historically, the Arduino IDE seems to have beaten the WinAVR-style tool bundle, but WinAVR was a pain to use, didn't target specific devices, and included (IIRC) all sorts of &#34;confusing&#34; things like a dis-assembler, debugger, etc.&#60;/p&#62;
&#60;p&#62;The biggest missing piece IMHO would be an easy way to select a serial port, target device, and &#34;fileset&#34; (files to be compiled) without needing to edit a Makefile.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bnewbold on "Building Maple IDE from git source"</title>
			<link>http://forums.leaflabs.com/topic.php?id=10444#post-25592</link>
			<pubDate>Wed, 01 May 2013 15:57:15 +0000</pubDate>
			<dc:creator>bnewbold</dc:creator>
			<guid isPermaLink="false">25592@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Of the top of my fuzzy head, getting the make system into the IDE would require:&#60;/p&#62;
&#60;ul&#62;
&#60;li&#62;bundling compatible 'make' and dependent binaries for each platform
&#60;/li&#62;
&#60;li&#62;writing something like ArmCompile.java which would call make with the correct environment (variables, path, files) and pass stdout/stderr back up to the IDE in the very frustrating IDE format (maybe this is easier in Wiring?)
&#60;/li&#62;
&#60;li&#62;tweak compile setup routines to either copy the entire libmaple source tree to the temp build location, or put that tree on the include path. The existing Makefiles expect all the source files to live in particular locations
&#60;/li&#62;
&#60;li&#62;potentially tweaking the makefile system to work from arbitrary paths
&#60;/li&#62;
&#60;li&#62;figure out how to make all this work with IDE-level libraries
&#60;/li&#62;
&#60;li&#62;testing, packaging, and documenting this for all platforms
&#60;/li&#62;
&#60;/ul&#62;
&#60;p&#62;Getting things to &#34;just work&#34; on a development machine shouldn't be hard, it's the last point that is the majority of the work and the biggest blocker.&#60;/p&#62;
&#60;p&#62;I looked in to using ant as a library from within the IDE to execute Makefiles; there seem to be some C/C++ support plugins for ant, but nothing to call Makefiles.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>feurig on "Building Maple IDE from git source"</title>
			<link>http://forums.leaflabs.com/topic.php?id=10444#post-25591</link>
			<pubDate>Wed, 01 May 2013 15:09:00 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">25591@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;bnewbold,&#60;br /&#62;
How much community support would it take to get that UNstalled? I think the make based system is what kept me in the libmaple fold this long. It is one of the things I was excited about seeing incorporated into Wiring.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>feurig on "Building Maple IDE from git source"</title>
			<link>http://forums.leaflabs.com/topic.php?id=10444#post-25590</link>
			<pubDate>Wed, 01 May 2013 15:02:13 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">25590@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Magnus, I cloned your libmaple midi so I could integrate my work (mostly converting from byte to packets and adding minimal sysex support) as a pull request, are you going to add the midi functionality to the ide? That would rule.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mlundinse on "Building Maple IDE from git source"</title>
			<link>http://forums.leaflabs.com/topic.php?id=10444#post-25589</link>
			<pubDate>Wed, 01 May 2013 11:38:22 +0000</pubDate>
			<dc:creator>mlundinse</dc:creator>
			<guid isPermaLink="false">25589@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I will try to polish my changes into a shape so that it can be downloaded and test built by others. Hopefully I can push this to a git repository end of next week.&#60;/p&#62;
&#60;p&#62;I plan to patch up the compile/build process so that it can build sketches using the exact folder structure and content that libmaple has and at the same time be able to use a newer arm toolchain. This will only change ArmCompiler.java, already a horrible hack, and perhaps some of the board definitions in boards.txt.&#60;/p&#62;
&#60;p&#62;Regards&#60;br /&#62;
Magnus
&#60;/p&#62;</description>
		</item>
		<item>
			<title>vstef_is on "Building Maple IDE from git source"</title>
			<link>http://forums.leaflabs.com/topic.php?id=10444#post-24482</link>
			<pubDate>Sat, 13 Apr 2013 02:52:33 +0000</pubDate>
			<dc:creator>vstef_is</dc:creator>
			<guid isPermaLink="false">24482@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Any news on this one?&#60;/p&#62;
&#60;p&#62;I'm very interested in the latest version...
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
