<?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: What state are your STM32F4 Libraries?</title>
		<link>http://forums.leaflabs.com/topic.php?id=1268</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:08:32 +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=1268" rel="self" type="application/rss+xml" />

		<item>
			<title>ala42 on "What state are your STM32F4 Libraries?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1268&amp;page=3#post-7954</link>
			<pubDate>Mon, 30 Jan 2012 18:52:58 +0000</pubDate>
			<dc:creator>ala42</dc:creator>
			<guid isPermaLink="false">7954@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Send me a PM at aeroquad.com
&#60;/p&#62;</description>
		</item>
		<item>
			<title>siy on "What state are your STM32F4 Libraries?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1268&amp;page=3#post-7951</link>
			<pubDate>Mon, 30 Jan 2012 16:50:02 +0000</pubDate>
			<dc:creator>siy</dc:creator>
			<guid isPermaLink="false">7951@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;ala42, can we communicate directly somehow? I'm working on the bootloader and need some info in regard to aeroquad boards. Also I'd like to coordinate efforts in order to avoid &#34;reinventing the wheel&#34;.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gke on "What state are your STM32F4 Libraries?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1268&amp;page=3#post-7870</link>
			<pubDate>Thu, 26 Jan 2012 04:19:14 +0000</pubDate>
			<dc:creator>gke</dc:creator>
			<guid isPermaLink="false">7870@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Thanks ala42. I will do some re-jigging to converge on your version and discard the release version I have.&#60;/p&#62;
&#60;p&#62;Thanks for your comments on my I2C routines a few weeks back. I have now them running at around 350KHz which is good enough for now. I have also written a version of the servo routines to allow me to control the period separately for the camera gimbals and the motor control on UAVXArm. I was pushing Arm as the way to go two years back but failed to break loose from the now legacy UAVP board - squeezing quarts into pint pots ;).&#60;/p&#62;
&#60;p&#62;Cheers&#60;br /&#62;
Greg
&#60;/p&#62;</description>
		</item>
		<item>
			<title>CNCaddict on "What state are your STM32F4 Libraries?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1268&amp;page=3#post-7866</link>
			<pubDate>Wed, 25 Jan 2012 22:27:40 +0000</pubDate>
			<dc:creator>CNCaddict</dc:creator>
			<guid isPermaLink="false">7866@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Is there a step by step guide on configuring the maple IDE &#38;amp; ala42's code to work with the Discovery STM32 F4 (windows 7)?  I'd love to port my Chipkit32 code over and see how it works on the blazing fast F4!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ala42 on "What state are your STM32F4 Libraries?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1268&amp;page=3#post-7863</link>
			<pubDate>Wed, 25 Jan 2012 21:01:28 +0000</pubDate>
			<dc:creator>ala42</dc:creator>
			<guid isPermaLink="false">7863@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I started with a git clone of &#60;a href=&#34;https://github.com/leaflabs/libmaple.git&#34; rel=&#34;nofollow&#34;&#62;https://github.com/leaflabs/libmaple.git&#60;/a&#62; taken on 18 September 2011. Here are the original files: &#60;a href=&#34;http://ala42.cdfreaks.com/AeroQuad/maple-0.0.12_original_version.zip&#34; rel=&#34;nofollow&#34;&#62;http://ala42.cdfreaks.com/AeroQuad/maple-0.0.12_original_version.zip&#60;/a&#62;&#60;br /&#62;
I did not change the structure, just added the mapleSDfat lib as I needed it for a SC card test.&#60;br /&#62;
Besides the plain port I also replaced the I2C Wire lib with my version I made when the 0.0.9 version was too buggy for my I2C sensors and made some small bug and compatibility fixes.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gke on "What state are your STM32F4 Libraries?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1268&amp;page=3#post-7862</link>
			<pubDate>Wed, 25 Jan 2012 20:27:35 +0000</pubDate>
			<dc:creator>gke</dc:creator>
			<guid isPermaLink="false">7862@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi ala42,&#60;/p&#62;
&#60;p&#62;Excellent work. You have saved a lot of time for all of us porting to F4.&#60;/p&#62;
&#60;p&#62;The internal directory structure for your code is quite different to the release maple-ide-0.0.12-windowsxp32 libraries I currently have. Can you tell me which base source you started from.&#60;/p&#62;
&#60;p&#62;It may be that your directories are those before the copy into the maple-ide directory structure occurs?&#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
Greg
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Xavier on "What state are your STM32F4 Libraries?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1268&amp;page=3#post-7844</link>
			<pubDate>Mon, 23 Jan 2012 09:13:21 +0000</pubDate>
			<dc:creator>Xavier</dc:creator>
			<guid isPermaLink="false">7844@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Thanks ala42 for sharing !!!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>siy on "What state are your STM32F4 Libraries?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1268&amp;page=2#post-7839</link>
			<pubDate>Mon, 23 Jan 2012 05:35:08 +0000</pubDate>
			<dc:creator>siy</dc:creator>
			<guid isPermaLink="false">7839@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;ala42 - thanks a lot!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>anton on "What state are your STM32F4 Libraries?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1268&amp;page=2#post-7836</link>
			<pubDate>Sun, 22 Jan 2012 22:59:04 +0000</pubDate>
			<dc:creator>anton</dc:creator>
			<guid isPermaLink="false">7836@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I still can't realise why Leaflabs placed definitions of the boards in wirish folder.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ala42 on "What state are your STM32F4 Libraries?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1268&amp;page=2#post-7832</link>
			<pubDate>Sun, 22 Jan 2012 19:25:20 +0000</pubDate>
			<dc:creator>ala42</dc:creator>
			<guid isPermaLink="false">7832@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Building these binaries is exactly as you would do it with the original maple files. I assume you have the CodeSourcery toolchain or another gcc based toolchain installed.&#60;br /&#62;
First check that you get it compiled. In the libmaple directory call &#34;make library&#34; in a cmd.exe window if you work with windows, which should generate libmaple.a in the build directory.&#60;br /&#62;
To build the boot loader enter the maple-bootloader directory and call &#34;make&#34;, which generates maple_boot.bin in the build directory. The FlashV2.bat file flashes it to your Discovery F4 using the STLink V2.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "What state are your STM32F4 Libraries?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1268&amp;page=2#post-7830</link>
			<pubDate>Sun, 22 Jan 2012 18:55:07 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">7830@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;ala42 - Interesting! Where would you recommend folks get started?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ala42 on "What state are your STM32F4 Libraries?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1268&amp;page=2#post-7828</link>
			<pubDate>Sun, 22 Jan 2012 18:45:23 +0000</pubDate>
			<dc:creator>ala42</dc:creator>
			<guid isPermaLink="false">7828@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;The F2/F4 and AeroQuad modified boot loader and libmaple as discussed above are available at &#60;a href=&#34;http://ala42.cdfreaks.com/AeroQuad/maple_0.0.12_F4AQ_mod_ala42_20120123.zip&#34; rel=&#34;nofollow&#34;&#62;http://ala42.cdfreaks.com/AeroQuad/maple_0.0.12_F4AQ_mod_ala42_20120123.zip&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ala42 on "What state are your STM32F4 Libraries?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1268&amp;page=2#post-7766</link>
			<pubDate>Wed, 18 Jan 2012 13:22:10 +0000</pubDate>
			<dc:creator>ala42</dc:creator>
			<guid isPermaLink="false">7766@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;&#38;gt; Have you ported those portions of libmaple (clock setup, GPIO, timer, USART, ADC and bit banging I2C), to the STM32F4, or something else?&#60;br /&#62;
Yes, as posted they work on my Discovery F4. The rcc and gpio stuff is in different files, other parts like the usart baud rate setting are modified to get the bus clock speeds from new functions. When compiled for a f1 CPU, the lib still works, but I have to check this again in detail.&#60;br /&#62;
I added new board types for the Discovery F4 and added two other boards we plan to use for the AeroQuad software and also extended the interrupt vector table.&#60;/p&#62;
&#60;p&#62;&#38;gt;What is your toolchain?&#60;br /&#62;
&#38;gt;Are you on MS Windows, or something else?&#60;br /&#62;
I use the CodeSourcery toolchain and makefiles. As IDE I used VS2008 and use Eclipse now to be able to use the onboard debugger of the Discovery F4.&#60;/p&#62;
&#60;p&#62;&#38;gt; Are you using ST Micro's own Windows STLINK/V2 upload, or something else?&#60;br /&#62;
Yes, use it for uploading and debugging. The port was made without debugger, so the first steps were quite interesting :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>siy on "What state are your STM32F4 Libraries?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1268&amp;page=2#post-7757</link>
			<pubDate>Wed, 18 Jan 2012 00:16:22 +0000</pubDate>
			<dc:creator>siy</dc:creator>
			<guid isPermaLink="false">7757@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;gbulmer - completely agree, STM32F4 boards are ready and waiting for the libmaple...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "What state are your STM32F4 Libraries?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1268&amp;page=2#post-7756</link>
			<pubDate>Tue, 17 Jan 2012 22:10:35 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">7756@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I think quite a lot of folks have F4 boards in the works, and the STM32F4 Discovery boards are insanely cheap for experiments (I have 5 or 6), so the software is more interesting :-)
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
