<?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: boards.txt for serial loader</title>
		<link>http://forums.leaflabs.com/topic.php?id=529</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:22:21 +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=529" rel="self" type="application/rss+xml" />

		<item>
			<title>mbolivar on "boards.txt for serial loader"</title>
			<link>http://forums.leaflabs.com/topic.php?id=529#post-2737</link>
			<pubDate>Thu, 18 Nov 2010 21:50:41 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">2737@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;if you edit the file preferences.txt (open the IDE preferences and click on the path to preferences.txt to open it), there's one called &#34;build.path&#34;.  you can set that to any directory you choose; your sketches will get compiled to there.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>structuresound on "boards.txt for serial loader"</title>
			<link>http://forums.leaflabs.com/topic.php?id=529#post-2706</link>
			<pubDate>Thu, 18 Nov 2010 04:53:45 +0000</pubDate>
			<dc:creator>structuresound</dc:creator>
			<guid isPermaLink="false">2706@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;This might seem totally useless to some folks, but since I'm having issues with command line make right now, I thought I'd see if I could get the IDE to spit out something that could be loaded directly via the serial bootloader. (stm32loader.py etc.) so I added this to boards.txt, seems to work fine for loading directly into a sketch without bootloader.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;##############################################################
mapleSERIAL.name=LeafLabs Maple rev3 for stm32flash

mapleSERIAL.upload.file_type=bin
mapleSERIAL.upload.maximum_size=20000
mapleSERIAL.upload.ram.maximum_size=20000
mapleSERIAL.upload.flash.maximum_size=108000
mapleSERIAL.upload.altID=2
mapleSERIAL.upload.uploader=dfu-util
mapleSERIAL.upload.auto_reset=true

mapleSERIAL.build.board=maple
mapleSERIAL.build.mcu=STM32F103RB
mapleSERIAL.build.family=cortex-m3
mapleSERIAL.build.f_cpu=72000000L
mapleSERIAL.build.core=maple
mapleSERIAL.build.submdl=stm32f103
mapleSERIAL.build.vect=VECT_TAB_BASE
mapleSERIAL.build.linker=maple/jtag.ld
mapleSERIAL.build.using=armcompiler&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;of course I didn't figure out how to have it spit the .bin directly to the shell command, so I still have to use the temp directory i.e&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;python stm32loader.py -p /dev/tty.usbserial-A8007ZPL -evw /var/folders/tp/tpz2J4fzE-4TEFjRhE1q+E+++TI/-Tmp-/build4885291948245892619.tmp/main.cpp.bin&#60;/code&#62;&#60;/pre&#62;</description>
		</item>

	</channel>
</rss>
