<?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: To wait or not to wait for Rev 5 (warning newbie)</title>
		<link>http://forums.leaflabs.com/topic.php?id=270</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:18: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=270" rel="self" type="application/rss+xml" />

		<item>
			<title>anotherDJ on "To wait or not to wait for Rev 5 (warning newbie)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=270#post-2133</link>
			<pubDate>Sun, 31 Oct 2010 10:55:51 +0000</pubDate>
			<dc:creator>anotherDJ</dc:creator>
			<guid isPermaLink="false">2133@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;thanks alot snigelen, now i have something to try out :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>snigelen on "To wait or not to wait for Rev 5 (warning newbie)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=270#post-2117</link>
			<pubDate>Fri, 29 Oct 2010 13:44:28 +0000</pubDate>
			<dc:creator>snigelen</dc:creator>
			<guid isPermaLink="false">2117@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;(That should be &#34;${LIB_MAPLE_HOME}/wirish&#34; etc. I missed the &#34;$&#34;)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>snigelen on "To wait or not to wait for Rev 5 (warning newbie)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=270#post-2116</link>
			<pubDate>Fri, 29 Oct 2010 08:54:36 +0000</pubDate>
			<dc:creator>snigelen</dc:creator>
			<guid isPermaLink="false">2116@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Gbulmer's link above describes how to set up a &#34;Makefile environment&#34; for Maple in Ubuntu or OSX. I have only tried it with Ubuntu. It's probably possible to set it up in Windows, but I don't know how.&#60;/p&#62;
&#60;p&#62;When you have followed the instructions you're ready to use the Maple without the IDE. The most basic form is to use your favorite editor to write your program in and type &#34;make&#34; on the command line to compile and &#34;make install&#34; to put the program on the Maple. If you have more than one source file you have to add them to the file build-targets.mk (included by the Makefile), but they (leaflabs) say they're going to make a better structure for this. But for now it works.&#60;/p&#62;
&#60;p&#62;When it comes to Eclipse, I'm just a newbie, but here's what I did.&#60;/p&#62;
&#60;p&#62;Create a new C++ project and select an empty Makefile project and choose &#34;-- Other Toolchain --&#34;.&#60;br /&#62;
Add the files main.cpp, Makefile, build-targets.mk from a Maple example.&#60;/p&#62;
&#60;p&#62;To build the project Eclipse want's to run &#34;make all&#34;, but that target isn't implemented in the Maple Makefile (you can add it or) so I went to &#34;Project Properties&#34; to do some configuration:&#60;/p&#62;
&#60;p&#62;First in &#34;C/C++ Build&#34; first create a new configuration, &#34;Maple&#34;, in &#34;Manage configurations&#34; and select that as &#34;Active&#34;.&#60;/p&#62;
&#60;p&#62;In the Behaviour tab remove the word &#34;all&#34; from &#34;Build (incremental Build)&#34;&#60;/p&#62;
&#60;p&#62;Now you can compile the program with, for example, the build project button.&#60;/p&#62;
&#60;p&#62;Some other things I did was: in &#34;Project properties &#124; C/C++ General &#124; Paths and Symbols &#124; Includes &#124; GNU C++&#34; remove the include directories and add (at least)&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;{LIB_MAPLE_HOME}/wirish
{LIB_MAPLE_HOME}/libmaple&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;And under Indexer make sure to use Maple as &#34;Build configuration for the indexer&#34;.&#60;/p&#62;
&#60;p&#62;Finally to be able to upload the program to the Maple, you want Eclipse to run &#34;make install&#34;. I did it by adding &#34;install&#34; to Project&#124;Make target&#124;Build... (in the menu).&#60;/p&#62;
&#60;p&#62;There's probably more things to do (or better ways to do it than I did), but maybe you can teach me (or us) when you're up and running :-).&#60;/p&#62;
&#60;p&#62;(And here's what pops up in Eclipse when you hold the mouse over pinMode:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;/**
 * Configure behavior of a GPIO pin.
 *
 * @param pin Pin to configure. One of: 0-38 (pin numbers as labeled
 *            on silkscreen), or D0-D38 (symbols for same)
 * @param mode Mode corresponding to desired pin behavior.
 * @see WiringPinMode
 */
void pinMode(uint8 pin, WiringPinMode mode);&#60;/code&#62;&#60;/pre&#62;
) ;-)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>anotherDJ on "To wait or not to wait for Rev 5 (warning newbie)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=270#post-2113</link>
			<pubDate>Fri, 29 Oct 2010 07:55:06 +0000</pubDate>
			<dc:creator>anotherDJ</dc:creator>
			<guid isPermaLink="false">2113@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Thanks everybody for the responses...&#60;/p&#62;
&#60;p&#62;what is a color organ; its basically an old likes 70's disco light thing that split up high low and mid of a sound audio signal and blinked lights in sync with each component. what we are making is a tool for small bands to use and a light show... So take in audio, process it and do lighting that's catered to their music sort of a visualizer using real lights. &#60;/p&#62;
&#60;p&#62;Why Eclipse, currently i'm on a co-op term writing firmware, and we use eclipse with C/C++ plugin which i have gotten really used, and i also like the ability to drill down on functions, and multiple file support. But the biggest reason is the others in my team are more familiar with eclipse or visual studios (I blame uncle Gates for that... who teaches C# and C++ EE students I don't know) and they are really wanting the ability to code in one of the two.&#60;/p&#62;
&#60;p&#62;snigelen, thats awesome! would u be able to give me some pointers as to where to start. I will try to get the env set up till my board ships robotshop.ca is out of stock :(&#60;/p&#62;
&#60;p&#62;thanks again.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>snigelen on "To wait or not to wait for Rev 5 (warning newbie)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=270#post-2111</link>
			<pubDate>Fri, 29 Oct 2010 05:03:25 +0000</pubDate>
			<dc:creator>snigelen</dc:creator>
			<guid isPermaLink="false">2111@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;If you use the &#34;compiling from the command line&#34; environment, as gbulmer say, and use the C/C++ plugin in eclipse it's easy to set up a Makefile project that works with the Maple.&#60;br /&#62;
(I've used eclipse for about an hour, and I already start to like it)&#60;br /&#62;
Here's a &#60;a href=&#34;http://forumbilder.se/show.aspx?iid=96292010121054be68&#34;&#62;screen-shot&#60;/a&#62; :-)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "To wait or not to wait for Rev 5 (warning newbie)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=270#post-2108</link>
			<pubDate>Fri, 29 Oct 2010 02:44:15 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">2108@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I'm not familiar with &#34;color organ&#34;. What sort of hardware does it use now, and what sort of improvements are you intending to make in your advanced version?&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;3rd question is it possible to use eclipse as the IDE for coding and then use the maple IDE for compiling?&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;You &#60;em&#62;could&#60;/em&#62; use eclipse with the C/C++ stuff. Using the Maple IDE for compilation, and hence losing eclipse integrated compilation, including the helpful error reporting, seems harder and extra work.&#60;/p&#62;
&#60;p&#62;What it is you are getting from eclipse that makes the work pattern better than using the Maple IDE? &#60;/p&#62;
&#60;p&#62;An alternative is to look at docs on &#60;a href=&#34;http://leaflabs.com/docs/libmaple/unix-toolchain/&#34;&#62;compiling from the command line&#60;/a&#62;. That may be a better approach if eclipse is essential. If you are very familiar with eclipse, and comfortable with Make files, you might be able to create a build mechanism within eclipse using the command line Make files as examples.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Silntknight on "To wait or not to wait for Rev 5 (warning newbie)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=270#post-2104</link>
			<pubDate>Thu, 28 Oct 2010 23:21:56 +0000</pubDate>
			<dc:creator>Silntknight</dc:creator>
			<guid isPermaLink="false">2104@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;As far as I know, Eclipse is only really good for Java. The code the Maple IDE uses is very similar (IMO), but not quite the same. For things like &#60;code&#62;pinMode()&#60;/code&#62; Eclipse will just throw errors at you, unless you configure them as &#60;code&#62;System.in&#60;/code&#62; commands. Either way, it will be more work that using the Maple IDE, which is pretty good anyway. I guess I don't see why you would want to use Eclipse.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>snigelen on "To wait or not to wait for Rev 5 (warning newbie)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=270#post-2096</link>
			<pubDate>Thu, 28 Oct 2010 15:16:40 +0000</pubDate>
			<dc:creator>snigelen</dc:creator>
			<guid isPermaLink="false">2096@http://forums.leaflabs.com/</guid>
			<description>&#60;blockquote&#62;&#60;p&#62;2nd question is can the STM lib for FFT's be ported over to the maple? how much work would this be? just to get an idea...&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;That shouldn't be hard to do, it's just number-crunching. I've done a quick test with the FFT (without going in to the details) and got some reasonable results. The only modification I had to do was to remove&#60;/p&#62;
&#60;p&#62;&#60;code&#62;#include &#38;quot;stm32f10x.h&#38;quot;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;(it isn't used anyway) from stm32_dsp.h, and put in&#60;/p&#62;
&#60;p&#62;&#60;code&#62;#include &#38;lt;stdint.h&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;But. Since the fft-stuff is written in assembler it will not work in the current version of Maple IDE (it will not compile (well assemble) it, it's just ignored). But it works if you use it with the stand alone stuff, with a Makefile (in Linux or Mac).
&#60;/p&#62;</description>
		</item>
		<item>
			<title>anotherDJ on "To wait or not to wait for Rev 5 (warning newbie)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=270#post-2095</link>
			<pubDate>Thu, 28 Oct 2010 12:47:17 +0000</pubDate>
			<dc:creator>anotherDJ</dc:creator>
			<guid isPermaLink="false">2095@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;a few friends and I are planing on using the Maple for our 4th yr design project. Our project is essentially a more advanced color organ. We plan to be using the ADC, interrupts, DMA, DSP and the PWM out features, at least that is what we think we would be needing to start off with.&#60;/p&#62;
&#60;p&#62;1st question is whether the maple is appropriate, and should we wait till rev5 is released, or is the current rev at robotshop good enough?&#60;/p&#62;
&#60;p&#62;2nd question is can the STM lib for FFT's be ported over to the maple? how much work would this be? just to get an idea...&#60;/p&#62;
&#60;p&#62;3rd question is it possible to use eclipse as the IDE for coding and then use the maple IDE for compiling?&#60;/p&#62;
&#60;p&#62;thanks everybody,
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
