<?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: LibMaple / Ubuntu 13.04 / STM32F4 / compile..</title>
		<link>http://forums.leaflabs.com/topic.php?id=11574</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:24:07 +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=11574" rel="self" type="application/rss+xml" />

		<item>
			<title>cncnoob on "LibMaple / Ubuntu 13.04 / STM32F4 / compile.."</title>
			<link>http://forums.leaflabs.com/topic.php?id=11574&amp;page=2#post-26215</link>
			<pubDate>Sat, 25 May 2013 07:30:12 +0000</pubDate>
			<dc:creator>cncnoob</dc:creator>
			<guid isPermaLink="false">26215@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Found what I was looking for, but still unsure of where I need to include the STM32F4 LibMaple paths etc..
&#60;/p&#62;</description>
		</item>
		<item>
			<title>cncnoob on "LibMaple / Ubuntu 13.04 / STM32F4 / compile.."</title>
			<link>http://forums.leaflabs.com/topic.php?id=11574&amp;page=2#post-26170</link>
			<pubDate>Thu, 23 May 2013 20:51:11 +0000</pubDate>
			<dc:creator>cncnoob</dc:creator>
			<guid isPermaLink="false">26170@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I have found this in the documentation supplied with Maple IDE:&#60;/p&#62;
&#60;p&#62;&#34;Build Instructions&#60;br /&#62;
------------------------------------------------------------------------------&#60;/p&#62;
&#60;p&#62;You first need to set the environment variables LIB_MAPLE_HOME to the&#60;br /&#62;
path containing the libmaple repo, and BREATHE_HOME to the path&#60;br /&#62;
containing the breathe repo.  [FIXME: using env. vars. is hackish].&#60;br /&#62;
This will enable you to build the documentation.  Check that this&#60;br /&#62;
worked with:&#60;/p&#62;
&#60;p&#62;    $ cd $LIB_MAPLE_HOME/docs&#60;br /&#62;
    $ doxygen&#60;br /&#62;
    $ make html&#60;/p&#62;
&#60;p&#62;Sphinx should build the docs with no trouble, ending in &#34;The HTML&#60;br /&#62;
pages are in build/html&#34;.  Please ignore any warnings.&#60;/p&#62;
&#60;p&#62;If that worked, you're now ready to place the IDE's various libmaple&#60;br /&#62;
dependencies into their respective places.  There's a hackish script&#60;br /&#62;
in the libmaple repo which will get the details right for you.  From&#60;br /&#62;
$LIB_MAPLE_HOME, run&#60;/p&#62;
&#60;p&#62;    $ ./support/scripts/copy-to-ide &#38;lt;--path to IDE directory--&#38;gt;&#60;/p&#62;
&#60;p&#62;Where &#38;lt;--path to IDE directory--&#38;gt; gets replaced with the path&#60;br /&#62;
containing the IDE repository.  This will copy the libmaple source&#60;br /&#62;
tree over, then rebuild the documentation and copy it over.  You are&#60;br /&#62;
now ready to compile the IDE itself.&#60;/p&#62;
&#60;p&#62;From the build/ directory, select the appropriate subdirectory based&#60;br /&#62;
on your target platform.  Run make.sh from within that directory.&#60;/p&#62;
&#60;p&#62;Linux:&#60;br /&#62;
    $ cd build/linux&#60;br /&#62;
    $ ./make.sh&#34;&#60;/p&#62;
&#60;p&#62;I am a little lost as what to do next?&#60;/p&#62;
&#60;p&#62;I can't seem to find any information on 'Breathe' or even how to pull this part together..&#60;/p&#62;
&#60;p&#62;Would this enable me to run the F4 and upload entirely from within Maple IDE?&#60;/p&#62;
&#60;p&#62;Once I have built Libmaple for the F4, how do I then include it in to the compile of Maple IDE?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>cncnoob on "LibMaple / Ubuntu 13.04 / STM32F4 / compile.."</title>
			<link>http://forums.leaflabs.com/topic.php?id=11574&amp;page=2#post-26168</link>
			<pubDate>Thu, 23 May 2013 19:18:18 +0000</pubDate>
			<dc:creator>cncnoob</dc:creator>
			<guid isPermaLink="false">26168@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I could not get this to work in linux, but the make.bat works in windows.&#60;br /&#62;
(I now have a build folder).&#60;/p&#62;
&#60;p&#62;How do I implement this with the Maple IDE?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ala42 on "LibMaple / Ubuntu 13.04 / STM32F4 / compile.."</title>
			<link>http://forums.leaflabs.com/topic.php?id=11574&amp;page=2#post-26167</link>
			<pubDate>Thu, 23 May 2013 18:20:36 +0000</pubDate>
			<dc:creator>ala42</dc:creator>
			<guid isPermaLink="false">26167@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;There is a zip button on the github site. You can also use &#60;a href=&#34;https://github.com/AeroQuad/AeroQuad/archive/master.zip&#34; rel=&#34;nofollow&#34;&#62;https://github.com/AeroQuad/AeroQuad/archive/master.zip&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>cncnoob on "LibMaple / Ubuntu 13.04 / STM32F4 / compile.."</title>
			<link>http://forums.leaflabs.com/topic.php?id=11574&amp;page=2#post-26165</link>
			<pubDate>Thu, 23 May 2013 18:05:59 +0000</pubDate>
			<dc:creator>cncnoob</dc:creator>
			<guid isPermaLink="false">26165@http://forums.leaflabs.com/</guid>
			<description>&#60;br /&#62;</description>
		</item>
		<item>
			<title>cncnoob on "LibMaple / Ubuntu 13.04 / STM32F4 / compile.."</title>
			<link>http://forums.leaflabs.com/topic.php?id=11574&amp;page=2#post-26164</link>
			<pubDate>Thu, 23 May 2013 18:00:10 +0000</pubDate>
			<dc:creator>cncnoob</dc:creator>
			<guid isPermaLink="false">26164@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;With:&#60;/p&#62;
&#60;p&#62;LDFLAGS = -T$(LDDIR)/$(LDSCRIPT) -L$(LDDIR) \&#60;br /&#62;
-mcpu=cortex-m3 -mthumb -Xlinker -nostartfiles\&#60;br /&#62;
--gc-sections -Xlinker --print-gc-sections -Xassembler --march=armv7-m -Wall&#60;/p&#62;
&#60;p&#62;I get:&#60;/p&#62;
&#60;p&#62;/libmaple/libraries/mapleSDfat/SdFile.cpp: In member function 'uint8_t SdFile::rmRfStar()':&#60;br /&#62;
/home/sickform/src/openstm32sw/stm32f4/libmaple/libraries/mapleSDfat/SdFile.cpp:912:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]&#60;br /&#62;
  [CXX]       ./libraries/mapleSDfat/SdVolume.cpp&#60;br /&#62;
  [CXX]       main.cpp&#60;br /&#62;
  [LD]        discovery_f4.elf&#60;br /&#62;
arm-none-eabi-g++: error: unrecognized command line option '--gc-sections'&#60;br /&#62;
make: *** [build/discovery_f4.elf] Error 1&#60;/p&#62;
&#60;p&#62;With:&#60;/p&#62;
&#60;p&#62;LDFLAGS = -T$(LDDIR)/$(LDSCRIPT) -L$(LDDIR) \&#60;br /&#62;
-mcpu=cortex-m3 -mthumb -Xlinker\&#60;br /&#62;
--gc-sections -Xlinker --print-gc-sections -Xassembler --march=armv7-m -Wall&#60;/p&#62;
&#60;p&#62;I get the error as before..&#60;/p&#62;
&#60;p&#62;Have I got '-nostartfiles' in the correct place?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>cncnoob on "LibMaple / Ubuntu 13.04 / STM32F4 / compile.."</title>
			<link>http://forums.leaflabs.com/topic.php?id=11574&amp;page=2#post-26163</link>
			<pubDate>Thu, 23 May 2013 17:40:28 +0000</pubDate>
			<dc:creator>cncnoob</dc:creator>
			<guid isPermaLink="false">26163@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;&#60;a href=&#34;https://github.com/AeroQuad/AeroQuad/tree/development&#34; rel=&#34;nofollow&#34;&#62;https://github.com/AeroQuad/AeroQuad/tree/development&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I had a version from here, but this had similar issues?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>cncnoob on "LibMaple / Ubuntu 13.04 / STM32F4 / compile.."</title>
			<link>http://forums.leaflabs.com/topic.php?id=11574&amp;page=2#post-26162</link>
			<pubDate>Thu, 23 May 2013 17:35:34 +0000</pubDate>
			<dc:creator>cncnoob</dc:creator>
			<guid isPermaLink="false">26162@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;..Also will this compile to a state similar to Maple IDE (eg ./maple IDE to run)?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>cncnoob on "LibMaple / Ubuntu 13.04 / STM32F4 / compile.."</title>
			<link>http://forums.leaflabs.com/topic.php?id=11574&amp;page=2#post-26161</link>
			<pubDate>Thu, 23 May 2013 17:33:48 +0000</pubDate>
			<dc:creator>cncnoob</dc:creator>
			<guid isPermaLink="false">26161@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi ala42.&#60;/p&#62;
&#60;p&#62;Thanks for forwarding this..&#60;/p&#62;
&#60;p&#62;One problem, I cant seem to get the link to download, how do I go about this?&#60;/p&#62;
&#60;p&#62;Do I need to sign in etc? I tried to do this before but there are no links to wget etc?!&#60;/p&#62;
&#60;p&#62;(I sign in but unsure how to access / download to dir in the standard fashion eg git clone.. wget..)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ala42 on "LibMaple / Ubuntu 13.04 / STM32F4 / compile.."</title>
			<link>http://forums.leaflabs.com/topic.php?id=11574&amp;page=2#post-26160</link>
			<pubDate>Thu, 23 May 2013 17:25:44 +0000</pubDate>
			<dc:creator>ala42</dc:creator>
			<guid isPermaLink="false">26160@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Use my libmaple F4 port from &#60;a href=&#34;https://github.com/AeroQuad/AeroQuad/tree/master/Libmaple&#34; rel=&#34;nofollow&#34;&#62;https://github.com/AeroQuad/AeroQuad/tree/master/Libmaple&#60;/a&#62;&#60;br /&#62;
Add -nostartfiles to the LDFLAGSSTM32 definintion in the makefile to get rid of the __bss_start__, __bss_end__ and _exit errors.&#60;br /&#62;
You will get and linker error complaining about _init, define this somewhere:&#60;br /&#62;
void __attribute ((weak))_init(void){};
&#60;/p&#62;</description>
		</item>
		<item>
			<title>cncnoob on "LibMaple / Ubuntu 13.04 / STM32F4 / compile.."</title>
			<link>http://forums.leaflabs.com/topic.php?id=11574&amp;page=2#post-26157</link>
			<pubDate>Thu, 23 May 2013 16:24:15 +0000</pubDate>
			<dc:creator>cncnoob</dc:creator>
			<guid isPermaLink="false">26157@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Not sure if this is relevant etc, but going to post it up just incase anyone can shed some light..&#60;/p&#62;
&#60;p&#62;EDIT(gbulmer): I have put the full 231 line text at &#60;a href=&#34;http://pastebin.com/VwEqYsyd&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/VwEqYsyd&#60;/a&#62;&#60;br /&#62;
and edited this post down to a shorter but, I think, representative sample.&#60;br /&#62;
Please read the posting guidelines at &#60;a href=&#34;http://forums.leaflabs.com/topic.php?id=994&#34; rel=&#34;nofollow&#34;&#62;http://forums.leaflabs.com/topic.php?id=994&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;/opt/ARM/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/bin/ld: Removing unused section '.text.vTaskDelete' in file 'build/./libraries/FreeRTOS/utility/tasks.o'&#60;br /&#62;
/opt/ARM/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/bin/ld: Removing unused section '.text.uxTaskPriorityGet' in file 'build/./libraries/FreeRTOS/utility/tasks.o'&#60;br /&#62;
/opt/ARM/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/bin/ld: Removing unused section '.text.vTaskPrioritySet' in file 'build/./libraries/FreeRTOS/utility/tasks.o'&#60;br /&#62;
/opt/ARM/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/bin/ld: Removing unused section '.text.xTaskIsTaskSuspended' in file 'build/./libraries/FreeRTOS/utility/tasks.o'&#60;br /&#62;
/opt/ARM/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/bin/ld: Removing unused section '.text.vTaskResume' in file 'build/./libraries/FreeRTOS/utility/tasks.o'&#60;br /&#62;
...&#60;/p&#62;
&#60;p&#62;/opt/ARM/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/bin/ld: Removing unused section '.text._wrapup_reent' in file '/opt/ARM/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/lib/armv7-m/libc.a(lib_a-reent.o)'&#60;br /&#62;
/opt/ARM/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/bin/ld: Removing unused section '.eh_frame' in file '/opt/ARM/bin/../lib/gcc/arm-none-eabi/4.7.3/armv7-m/crtend.o'&#60;br /&#62;
/opt/ARM/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/bin/ld: Removing unused section '.jcr' in file '/opt/ARM/bin/../lib/gcc/arm-none-eabi/4.7.3/armv7-m/crtend.o'&#60;br /&#62;
/opt/ARM/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/lib/armv7-m/crt0.o: In function `start':&#60;br /&#62;
(.text+0x64): undefined reference to `__bss_start__'&#60;br /&#62;
/opt/ARM/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/lib/armv7-m/crt0.o: In function `start':&#60;br /&#62;
(.text+0x68): undefined reference to `__bss_end__'&#60;br /&#62;
/opt/ARM/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/lib/armv7-m/libc.a(lib_a-exit.o): In function `exit':&#60;br /&#62;
exit.c:(.text.exit+0x16): undefined reference to `_exit'&#60;br /&#62;
collect2: error: ld returned 1 exit status&#60;br /&#62;
make: *** [build/discovery_f4.elf] Error 1
&#60;/p&#62;</description>
		</item>
		<item>
			<title>cncnoob on "LibMaple / Ubuntu 13.04 / STM32F4 / compile.."</title>
			<link>http://forums.leaflabs.com/topic.php?id=11574&amp;page=2#post-26156</link>
			<pubDate>Thu, 23 May 2013 15:43:06 +0000</pubDate>
			<dc:creator>cncnoob</dc:creator>
			<guid isPermaLink="false">26156@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Any suggestions as to how I can move on from this in the meantime?&#60;/p&#62;
&#60;p&#62;Is this down to certain versions of the GCC and ARM toolchains?&#60;/p&#62;
&#60;p&#62;I have been looking now for quite some time, but the information is either quite scarce or I don't understand the lingo.&#60;/p&#62;
&#60;p&#62;I was attempting to make a natural progression from the DUE to the F4 as it has DSP and FPU, plus the extra speed!&#60;/p&#62;
&#60;p&#62;I've been trying to make this happen for some time now, and not really getting on well with CoIDE Eclipse or similar..&#60;br /&#62;
Hence going this route.&#60;/p&#62;
&#60;p&#62;I wish I knew more about all this as I would have loved to help out to make this happen!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mlundinse on "LibMaple / Ubuntu 13.04 / STM32F4 / compile.."</title>
			<link>http://forums.leaflabs.com/topic.php?id=11574&amp;page=2#post-26154</link>
			<pubDate>Thu, 23 May 2013 15:18:05 +0000</pubDate>
			<dc:creator>mlundinse</dc:creator>
			<guid isPermaLink="false">26154@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;There are quite some differences between the F1 and the F4 chips. Thats what the ala and bulmer forks are adressing. Unfortunately these changes have not been added into the main libmaple repository, while some other changes to the main repository have not been added to the F4 libraries.&#60;/p&#62;
&#60;p&#62;Its a bit of a mess really, needs a super maintainer to set up a great community version of th libmaple and the IDE.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>cncnoob on "LibMaple / Ubuntu 13.04 / STM32F4 / compile.."</title>
			<link>http://forums.leaflabs.com/topic.php?id=11574#post-26153</link>
			<pubDate>Thu, 23 May 2013 15:00:30 +0000</pubDate>
			<dc:creator>cncnoob</dc:creator>
			<guid isPermaLink="false">26153@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;If I took an existing board (eg the F1) could I not change all the files and change them to what the F4 uses?&#60;/p&#62;
&#60;p&#62;Is there any reason why this would not work?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>cncnoob on "LibMaple / Ubuntu 13.04 / STM32F4 / compile.."</title>
			<link>http://forums.leaflabs.com/topic.php?id=11574#post-26152</link>
			<pubDate>Thu, 23 May 2013 14:35:35 +0000</pubDate>
			<dc:creator>cncnoob</dc:creator>
			<guid isPermaLink="false">26152@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;How do I go about porting the F4 in to Libmaple?&#60;/p&#62;
&#60;p&#62;Now I feel totally lost.&#60;/p&#62;
&#60;p&#62;I'm guessing its not as simple as just copying everything over from the openstm lib?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
