<?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: Run sketches natively - No bootloader</title>
		<link>http://forums.leaflabs.com/topic.php?id=74226</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:17:56 +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=74226" rel="self" type="application/rss+xml" />

		<item>
			<title>ventosus on "Run sketches natively - No bootloader"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74226#post-105126</link>
			<pubDate>Sat, 04 Jan 2014 15:52:07 +0000</pubDate>
			<dc:creator>ventosus</dc:creator>
			<guid isPermaLink="false">105126@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;1) Yes you can use libmaple natively for boards with a supported MCU.&#60;/p&#62;
&#60;p&#62;I'd recommend to check and/or create your own board definitions in&#60;br /&#62;
libmaple/wirish/boards/...&#60;br /&#62;
and&#60;br /&#62;
libmaple/support/make/board-includes/...&#60;/p&#62;
&#60;p&#62;If you upload via ST-Link, you don't use the maple bootloader, I assume?&#60;/p&#62;
&#60;p&#62;The MEMORY_TARGET=flash expects a bootloader at the beginning of flash memory, if there is none, your sketch won't run.&#60;/p&#62;
&#60;p&#62;You may want to compile for MEMORY_TARGET=jtag.&#60;br /&#62;
&#60;a href=&#34;http://forums.leaflabs.com/topic.php?id=10278&#34; rel=&#34;nofollow&#34;&#62;http://forums.leaflabs.com/topic.php?id=10278&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;2) The error of your build is most probably related to your OS (let me guess, windows?). It tries to executes the 'rm' unix commands but cannot find it.&#60;/p&#62;
&#60;p&#62;Are you sure to have a working basic unix environment to compile libmaple?&#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;</description>
		</item>
		<item>
			<title>ucFreak on "Run sketches natively - No bootloader"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74226#post-105124</link>
			<pubDate>Fri, 03 Jan 2014 12:25:48 +0000</pubDate>
			<dc:creator>ucFreak</dc:creator>
			<guid isPermaLink="false">105124@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi,&#60;br /&#62;
Is there a way to run libmaple natively on a maple-compatible board? &#60;/p&#62;
&#60;p&#62;My board specs:&#60;br /&#62;
+ STM32F103RBT6&#60;br /&#62;
+ 8MHz external crystal&#60;br /&#62;
+ No reset button&#60;br /&#62;
+ No BUT button&#60;br /&#62;
+ SWD port - I have an ST-Link V2 to download and debug code&#60;/p&#62;
&#60;p&#62;I tried the steps in &#60;a href=&#34;http://leaflabs.com/docs/unix-toolchain.html#test-compilation&#34; rel=&#34;nofollow&#34;&#62;http://leaflabs.com/docs/unix-toolchain.html#test-compilation&#60;/a&#62; so that I can generate a hex file and debug using GDB but I get the following error:&#60;/p&#62;
&#60;p&#62;The system cannot find the path specified.&#60;br /&#62;
process_begin: CreateProcess(NULL, rm -rf build, ...) failed.&#60;br /&#62;
&#34;================================================================================&#34;&#60;br /&#62;
&#34;&#34;&#60;br /&#62;
&#34;  Build info:&#34;&#60;br /&#62;
&#34;     BOARD:          &#34; maple&#60;br /&#62;
&#34;     MCU:            &#34; STM32F103RB&#60;br /&#62;
&#34;     MEMORY_TARGET:  &#34; flash&#60;br /&#62;
&#34;&#34;&#60;br /&#62;
&#34;  See 'make help' for all possible targets&#34;&#60;br /&#62;
&#34;&#34;&#60;br /&#62;
&#34;================================================================================&#34;&#60;br /&#62;
&#34;&#34;&#60;br /&#62;
The syntax of the command is incorrect.&#60;br /&#62;
make: *** [build/./libmaple] Error 1&#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
ucFreak
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
