<?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 use a recent libmaple fro windows Maple-IDE?</title>
		<link>http://forums.leaflabs.com/topic.php?id=15663</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:17:58 +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=15663" rel="self" type="application/rss+xml" />

		<item>
			<title>ventosus on "How to use a recent libmaple fro windows Maple-IDE?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=15663&amp;page=2#post-31232</link>
			<pubDate>Sat, 21 Sep 2013 05:16:43 +0000</pubDate>
			<dc:creator>ventosus</dc:creator>
			<guid isPermaLink="false">31232@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;@SevenW&#60;/p&#62;
&#60;p&#62;IMHO, it seems to be much less pain to set up the unix toolchain&#60;/p&#62;
&#60;p&#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;br /&#62;
&#60;a href=&#34;http://static.leaflabs.com/pub/leaflabs/maple-docs/snapshots/2012-09-04/unix-toolchain-win-setup.html&#34; rel=&#34;nofollow&#34;&#62;http://static.leaflabs.com/pub/leaflabs/maple-docs/snapshots/2012-09-04/unix-toolchain-win-setup.html&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;and use the example project template&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;https://github.com/mbolivar/example-libmaple-project&#34; rel=&#34;nofollow&#34;&#62;https://github.com/mbolivar/example-libmaple-project&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;with your code editor of choice,&#60;/p&#62;
&#60;p&#62;than to hack the current IDE.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mlundinse on "How to use a recent libmaple fro windows Maple-IDE?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=15663&amp;page=2#post-31228</link>
			<pubDate>Sat, 21 Sep 2013 04:05:09 +0000</pubDate>
			<dc:creator>mlundinse</dc:creator>
			<guid isPermaLink="false">31228@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Yes, a prebuilt new version would be great.&#60;/p&#62;
&#60;p&#62;The build is really compiling the java stuff in the application, that can be done under windows without installing the gcc, just using a full java dev version.&#60;/p&#62;
&#60;p&#62;I dont have that setup for windows at the moment, but the windows/make.sh contains all the commands to build the IDE.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>SevenW on "How to use a recent libmaple fro windows Maple-IDE?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=15663&amp;page=2#post-31226</link>
			<pubDate>Sat, 21 Sep 2013 03:37:17 +0000</pubDate>
			<dc:creator>SevenW</dc:creator>
			<guid isPermaLink="false">31226@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;@mlundinse: Thanks for the quick reply.&#60;br /&#62;
So the pre-build maplIDE0.0.12 is basically incompatible with the libmaple master branch. I then expect that the maple-ide master brach is compatible with libmaple master. Or at least your fork of maple-ide.&#60;/p&#62;
&#60;p&#62;It would involve building maple-ide on Windows (for me), and that might be a bit of a challenge as well.&#60;/p&#62;
&#60;p&#62;How nice would it be to have a pre-build latest maple-ide?&#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
SevenW
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mlundinse on "How to use a recent libmaple fro windows Maple-IDE?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=15663&amp;page=2#post-31191</link>
			<pubDate>Sat, 21 Sep 2013 02:50:09 +0000</pubDate>
			<dc:creator>mlundinse</dc:creator>
			<guid isPermaLink="false">31191@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I have updated my github repo for Maple IDE to reflect my current working copy.&#60;br /&#62;
&#60;a href=&#34;https://github.com/mlu/maple-ide/commits/master&#34; rel=&#34;nofollow&#34;&#62;https://github.com/mlu/maple-ide/commits/master&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;This version also uses the latest versions of the arm-none-eabi toolchain&#60;/p&#62;
&#60;p&#62;I have only built this under Linux (Fedora 18) and the instructions has not been tested by anyone else as far as I know. It is a bit of a mess but it works for me as it is.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mlundinse on "How to use a recent libmaple fro windows Maple-IDE?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=15663&amp;page=2#post-31177</link>
			<pubDate>Sat, 21 Sep 2013 02:32:02 +0000</pubDate>
			<dc:creator>mlundinse</dc:creator>
			<guid isPermaLink="false">31177@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I am a bit embarrased, but I have been looking in a folder where I been working to set up a recent version of libmaple for maple-ide, just as you. I have now rechecked the status.&#60;/p&#62;
&#60;p&#62;Maple IDE uses a single flat directory with folder containing the board specific limker files. Keep thoose from the original IDE structure.&#60;/p&#62;
&#60;p&#62;The newer libmaple have refactored to old code into several files in different directories with same name. So there are two choises:&#60;/p&#62;
&#60;p&#62;Move files from subdirectories and rename them to not conflict with other files of the same name. Fixup include directives in the source files. This is a bit of messy work but possible ( I did it before reverting to second method below).&#60;/p&#62;
&#60;p&#62;or ...&#60;/p&#62;
&#60;p&#62;patch the IDE to use the libmaple structure. I have worked on that but never got around to clean it up and really package it for easy use. I use it myself under Linux. So I will try and clean it up and push it to Githib later this weekend.&#60;/p&#62;
&#60;p&#62;Sorry for the confusin, I thought it could be done simply and had forgotten my own previous problems.&#60;/p&#62;
&#60;p&#62;Regards&#60;br /&#62;
Magnus
&#60;/p&#62;</description>
		</item>
		<item>
			<title>SevenW on "How to use a recent libmaple fro windows Maple-IDE?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=15663&amp;page=2#post-31149</link>
			<pubDate>Sat, 21 Sep 2013 01:56:47 +0000</pubDate>
			<dc:creator>SevenW</dc:creator>
			<guid isPermaLink="false">31149@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;so folder structure should be:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;cores/maple                   //many source files
cores/maple/include           //WProgram.h
cores/maple/include/libmaple
cores/maple/include/wirish
cores/maple/stm32f1/
cores/maple/stm32f1/include/series

cores/maple/usb&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;my IDE does not search the include path. So apparantly this needs to be configured somewhere in the IDE (compiler oprions?)&#60;/p&#62;
&#60;p&#62;And what do I do with the things in support/ld?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mlundinse on "How to use a recent libmaple fro windows Maple-IDE?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=15663&amp;page=2#post-30973</link>
			<pubDate>Fri, 20 Sep 2013 17:10:30 +0000</pubDate>
			<dc:creator>mlundinse</dc:creator>
			<guid isPermaLink="false">30973@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;as you se several .c and .h files appearwith the same name in different places&#60;br /&#62;
containg more specialized definitions or functions in the specifically named subdirectories&#60;/p&#62;
&#60;p&#62;.h files found among .c and .cpp files, often called xxx_private.h should be kept with the .c and .cpp files and not be moved to the include directories.&#60;/p&#62;
&#60;p&#62;The files in the include directory are the files found originally in  libmaple/include/libmaple and wirish/include/wirish and they should be in cores/maple/inclue/libmaple and cores/maple/include/wirish, except for the WProgram.h found in cores/maple/include/
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mlundinse on "How to use a recent libmaple fro windows Maple-IDE?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=15663&amp;page=2#post-30972</link>
			<pubDate>Fri, 20 Sep 2013 17:08:45 +0000</pubDate>
			<dc:creator>mlundinse</dc:creator>
			<guid isPermaLink="false">30972@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;the stm32.h should be in:&#60;/p&#62;
&#60;p&#62;leaflabs/cores/maple/stm32f1/include/series&#60;/p&#62;
&#60;p&#62;so the stm32f1 stuff goes into a folder stmf2f1 that contains the&#60;br /&#62;
include/series stuff
&#60;/p&#62;</description>
		</item>
		<item>
			<title>SevenW on "How to use a recent libmaple fro windows Maple-IDE?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=15663&amp;page=2#post-30971</link>
			<pubDate>Fri, 20 Sep 2013 17:02:27 +0000</pubDate>
			<dc:creator>SevenW</dc:creator>
			<guid isPermaLink="false">30971@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I am stuck now on this. I figured out some bits, but don't know what to do with stm32fx folders and stuff from support/ld.&#60;/p&#62;
&#60;p&#62;This is my understanding sofar:&#60;br /&#62;
- source files go directly in hardware/leaflabs/cores/maple&#60;br /&#62;
- include files go into a subfolder named after the source location (libmaple or wirish)&#60;/p&#62;
&#60;p&#62;folder structure in hardware/leaflabs/cores/maple:&#60;br /&#62;
libmaple&#60;br /&#62;
wirish&#60;br /&#62;
board&#60;br /&#62;
usb&#60;br /&#62;
series  #from stm32f1/include&#60;/p&#62;
&#60;p&#62;when I add the stm32f1 folder, I get a build error:&#60;br /&#62;
\hardware\leaflabs\cores\maple\stm32f1\performance\isrs.S:29: fatal error: libmaple/stm32.h: No such file or directory&#60;/p&#62;
&#60;p&#62;when I remove them various definitions such as ADC3 and GPIOA are not found.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>SevenW on "How to use a recent libmaple fro windows Maple-IDE?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=15663#post-30970</link>
			<pubDate>Fri, 20 Sep 2013 14:33:01 +0000</pubDate>
			<dc:creator>SevenW</dc:creator>
			<guid isPermaLink="false">30970@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;@mlundinse: OK, thanks, that helps understanding it. Handy for copying it back to my git clone as well.&#60;/p&#62;
&#60;p&#62;Through another thread I found a pointer to the copy-to-ide bash script. Imanged to run it in Windows, with PowerShell that had been installed with Git for windows:&#60;br /&#62;
cd &#38;lt;local libmaple folder&#38;gt;&#60;br /&#62;
bash&#60;br /&#62;
./support/scripts/copy-to-ide &#38;lt;Full path to maple-ide-0.0.12 folder&#38;gt;&#60;/p&#62;
&#60;p&#62;then the script logs:&#60;br /&#62;
Copying libmaple source&#60;br /&#62;
cp: cannot stat `./libmaple/usb/*.h': No such file or directory&#60;br /&#62;
cp: cannot stat `./libmaple/usb/*.c': No such file or directory&#60;br /&#62;
cp: cannot stat `./wirish/comm/*.cpp': No such file or directory&#60;br /&#62;
cp: cannot stat `./wirish/comm/*.h': No such file or directory&#60;br /&#62;
cp: cannot stat `./wirish/boards/*.h': No such file or directory&#60;br /&#62;
cp: cannot stat `./wirish/boards/*.cpp': No such file or directory&#60;br /&#62;
cp: cannot stat `./support/ld/maple': No such file or directory&#60;br /&#62;
cp: cannot stat `./support/ld/maple_mini': No such file or directory&#60;br /&#62;
cp: cannot stat `./support/ld/maple_native': No such file or directory&#60;br /&#62;
cp: cannot stat `./support/ld/maple_RET6': No such file or directory&#60;br /&#62;
cp: cannot stat `./support/ld/names.inc': No such file or directory&#60;br /&#62;
Copying over libraries&#60;br /&#62;
Creating libmaple-version.txt&#60;br /&#62;
Done.&#60;/p&#62;
&#60;p&#62;I suspect that the script is not updated with refactorings in libmaple folder structure. Indeed I seem to be missing some files/folders. I see whether I can fix the script and test further.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mlundinse on "How to use a recent libmaple fro windows Maple-IDE?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=15663#post-30968</link>
			<pubDate>Fri, 20 Sep 2013 14:16:19 +0000</pubDate>
			<dc:creator>mlundinse</dc:creator>
			<guid isPermaLink="false">30968@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;You have to copy the files from the libmaple folder structure to the more flat maple-ide structure. In the maple ide source distribution there is a script that should do this, but it doesnt work with the present libmaple, at lest not for me under Linux.&#60;/p&#62;
&#60;p&#62;If I recall correctly:&#60;/p&#62;
&#60;p&#62;libmaple/wirish + libmaple/libmaple  --&#38;gt;  leaflabs/cores/maple&#60;br /&#62;
libmaple/wirish/include + libmaple/libmaple/include --&#38;gt; leaflabs/cores/maple/include (keep the wirish and libmaple subdirectories )&#60;br /&#62;
same with usd directories and stm32f1 directories&#60;/p&#62;
&#60;p&#62;So basically you combine the wirish and the libmaple folders in libmaple into leaflabs/cores/maple while keeping the subdirectory structure
&#60;/p&#62;</description>
		</item>
		<item>
			<title>SevenW on "How to use a recent libmaple fro windows Maple-IDE?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=15663#post-30967</link>
			<pubDate>Fri, 20 Sep 2013 13:32:07 +0000</pubDate>
			<dc:creator>SevenW</dc:creator>
			<guid isPermaLink="false">30967@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;The latest windows precompiled IDE does not seem to have the latest libmaple. So I cloned libmaple and more or less expected that I could copy the code into the maple IDE, just like I am used to do with extensions like SDFat. Apparantly not. The folder structure is different. Obviously I have no clue.&#60;/p&#62;
&#60;p&#62;Is there some document or forum thread where this is explained?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
