<?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: Adding a new board to Maple IDE</title>
		<link>http://forums.leaflabs.com/topic.php?id=105</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:20:28 +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=105" rel="self" type="application/rss+xml" />

		<item>
			<title>khushu11 on "Adding a new board to Maple IDE"</title>
			<link>http://forums.leaflabs.com/topic.php?id=105#post-5323</link>
			<pubDate>Fri, 17 Jun 2011 13:38:22 +0000</pubDate>
			<dc:creator>khushu11</dc:creator>
			<guid isPermaLink="false">5323@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Thank you Mbolivar! I'll go deeper inside and keep posting my problems!! :-)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbolivar on "Adding a new board to Maple IDE"</title>
			<link>http://forums.leaflabs.com/topic.php?id=105#post-5305</link>
			<pubDate>Fri, 17 Jun 2011 11:37:13 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">5305@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;besides the official libmaple docs, the file notes/portable.txt in the libmaple repo (which i linked to in the other thread you're asking this sort of question on) is a quick rundown on things you need to do.&#60;/p&#62;
&#60;p&#62;specifically regarding the clock, you can start here with the PCLK1 and PCLK2 (although this version didn't get pushed until after 0.0.11, so you'll need to use the top of the tree):&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;https://github.com/leaflabs/libmaple/blob/master/libmaple/stm32.h&#34; rel=&#34;nofollow&#34;&#62;https://github.com/leaflabs/libmaple/blob/master/libmaple/stm32.h&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;however, the rest of the code doesn't really respect that yet, so you'll run into some other problems as you go along.  e.g., libmaple/delay.h will need to change, and there's some HardwareSPI code to adjust.&#60;/p&#62;
&#60;p&#62;also see the CYCLES_PER_MICROSECOND board-specific value e.g. in wirish/boards/maple.h.&#60;/p&#62;
&#60;p&#62;any patches that help libmaple work on more chips/board configurations are very welcome.  we really want to see it in widespread use; more users means more bug reports, patches, and feedback, which translates to a stronger library overall.  and of course, if you give your code back to us, we'll be able to maintain it as libmaple evolves, which is a win for you.&#60;/p&#62;
&#60;p&#62;you may want to check out anton's discovery libmaple fork on github as a starting point:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;https://github.com/anton19286/libmaple&#34; rel=&#34;nofollow&#34;&#62;https://github.com/anton19286/libmaple&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;p.s., anton, if you're still on the forums, you should send us some pull requests ;).&#60;/p&#62;
&#60;p&#62;here are some tips on preparing patches for maximum likelihood of getting pulled in:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://leaflabs.com/docs/libmaple/contributing.html&#34; rel=&#34;nofollow&#34;&#62;http://leaflabs.com/docs/libmaple/contributing.html&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>khushu11 on "Adding a new board to Maple IDE"</title>
			<link>http://forums.leaflabs.com/topic.php?id=105#post-5282</link>
			<pubDate>Thu, 16 Jun 2011 18:54:45 +0000</pubDate>
			<dc:creator>khushu11</dc:creator>
			<guid isPermaLink="false">5282@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hello Bnewbold,&#60;/p&#62;
&#60;p&#62;While Adding a new board, I was wondering where to change the clock settings as I have an external 12Mhz clock on my stm32f103RE board. &#60;/p&#62;
&#60;p&#62;And also what other things and settings do I have to change to make it work for my board.&#60;/p&#62;
&#60;p&#62;Any directions would be great help.&#60;br /&#62;
Thank you
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bnewbold on "Adding a new board to Maple IDE"</title>
			<link>http://forums.leaflabs.com/topic.php?id=105#post-599</link>
			<pubDate>Thu, 22 Jul 2010 11:01:20 +0000</pubDate>
			<dc:creator>bnewbold</dc:creator>
			<guid isPermaLink="false">599@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;It would work roughly the same way as adding boards to the Arduino IDE: you edit the ./hardware/leaflabs/boards.txt file (or add a new ./hardware/gbulmer/ directory) with the parameters set appropriately. Then you copy any changes to libmaple into a cores/maple-custom directory. I haven't tried all this since modifying the IDE from 0018, but if you run into trouble we'll try to fix it for you.&#60;/p&#62;
&#60;p&#62;Currently making the changes to libmaple wouldn't be too much of a hassle if you're willing to fork; I think everything you would need is in ./wirish/wirish_digital.c. But perry is working on refactoring things to be compatible with the maple mini and maple native. After that it may be easier &#60;/p&#62;
&#60;p&#62;You also might want to look in to the alternate function remapping feature of the STM32 which in some cases allows hardware pins to be swapped around in software; see the stm32 reference manual.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "Adding a new board to Maple IDE"</title>
			<link>http://forums.leaflabs.com/topic.php?id=105#post-597</link>
			<pubDate>Wed, 21 Jul 2010 17:52:58 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">597@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I am thinking of adjusting the circuit schematic and board layout slightly because I'd like to change a few of the committed pins. I.e. exchange some pins on EXT for committed pins.&#60;/p&#62;
&#60;p&#62;So I think it may be as simple as a few constants which need changing in a header or two.&#60;/p&#62;
&#60;p&#62;Can you point me at some notes, or documentation on a reasonable way to go about creating a new type of board, with a minimal set of changes to headers, so that I can use the Maple IDE?&#60;/p&#62;
&#60;p&#62;Ideally, the user would just select a different board, and everything would 'just work' (TM).&#60;/p&#62;
&#60;p&#62;TIA - GB
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
