<?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: Seeking a How2/getting started info</title>
		<link>http://forums.leaflabs.com/topic.php?id=26</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:10: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=26" rel="self" type="application/rss+xml" />

		<item>
			<title>importer on "Seeking a How2/getting started info"</title>
			<link>http://forums.leaflabs.com/topic.php?id=26#post-107</link>
			<pubDate>Sat, 03 Apr 2010 15:03:32 +0000</pubDate>
			<dc:creator>importer</dc:creator>
			<guid isPermaLink="false">107@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;[on Mon 28 of Dec., 2009 17:05 EST, by poslathian]&#60;/p&#62;
&#60;p&#62;I had broken the repo the day before you made this post. Whoops. Sorry. Seriously. Anyway, its fixed now and full on howto tutorials are well underway.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>importer on "Seeking a How2/getting started info"</title>
			<link>http://forums.leaflabs.com/topic.php?id=26#post-105</link>
			<pubDate>Sat, 03 Apr 2010 15:03:09 +0000</pubDate>
			<dc:creator>importer</dc:creator>
			<guid isPermaLink="false">105@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;[on Sat 26 of Dec., 2009 13:16 EST, by LarryP]&#60;/p&#62;
&#60;p&#62;On my Ubuntu system, I downloaded leaflab's svn trunk and was able to build the GUI, via:&#60;br /&#62;
larry@larry-laptop:~/mapleStuff/leaflabs-read-only/trunk/maple/build/linux$ ./make.sh&#60;/p&#62;
&#60;p&#62;The GUI opens when I run:&#60;br /&#62;
larry@larry-laptop:~/mapleStuff/leaflabs-read-only/trunk/maple/build/linux$ ./run.sh&#60;/p&#62;
&#60;p&#62;And I can select the Maple board. A blue LED blinks when I plug the Maple into a USB port.&#60;/p&#62;
&#60;p&#62;However, I cannot get even the blink sketch to work. I get the following link error:&#60;/p&#62;
&#60;p&#62;Compiling with arm-none-eabi&#60;br /&#62;
Compiling core arm-none-eabi&#60;br /&#62;
/home/larry/mapleStuff/leaflabs-read-only/trunk/maple/build/linux/work/hardware/tools/arm/bin/arm-none-eabi-gcc -c -Os -g -mcpu=cortex-m3 -mthumb -march=armv7-m -nostdlib -ffunction-sections -fdata-sections -Wl,--gc-sections -DF_CPU=72000000L -DVECT_TAB_ROM -DARDUINO=18 -I/home/larry/mapleStuff/leaflabs-read-only/trunk/maple/build/linux/work/hardware/cores/maple&#60;br /&#62;
.&#60;br /&#62;
.&#60;br /&#62;
.&#60;br /&#62;
/tmp/build24381.tmp/usb.c.o /tmp/build24381.tmp/ext_interrupts.c.o /tmp/build24381.tmp/stm32f10x_flash.c.o /tmp/build24381.tmp/HardwareSerial.cpp.o /tmp/build24381.tmp/Print.cpp.o /tmp/build24381.tmp/math.cpp.o /tmp/build24381.tmp/blink.cpp.o -L/tmp/build24381.tmp&#60;/p&#62;
&#60;p&#62;/home/larry/mapleStuff/leaflabs-read-only/trunk/maple/build/linux/work/hardware/tools/arm/bin/../lib/gcc/arm-none-eabi/4.3.3/../../../../arm-none-eabi/bin/ld: crti.o: No such file: No such file or directory&#60;/p&#62;
&#60;p&#62;collect2: ld returned 1 exit status&#60;/p&#62;
&#60;p&#62;I tried using find, both where I installed the Maple svn trunk code and in /tmp/*, but I cannot find crti.o.&#60;/p&#62;
&#60;p&#62;Any help/suggestions?&#60;/p&#62;
&#60;p&#62;Thanks,&#60;/p&#62;
&#60;p&#62;Larry&#60;br /&#62;
ursine @t gm4il d0t c0m
&#60;/p&#62;</description>
		</item>
		<item>
			<title>importer on "Seeking a How2/getting started info"</title>
			<link>http://forums.leaflabs.com/topic.php?id=26#post-102</link>
			<pubDate>Sat, 03 Apr 2010 15:02:01 +0000</pubDate>
			<dc:creator>importer</dc:creator>
			<guid isPermaLink="false">102@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;[on Sat 26 of Dec., 2009 12:17 EST, by LarryP]&#60;/p&#62;
&#60;p&#62;Greetings all,&#60;/p&#62;
&#60;p&#62;Since I live near leafLab's lair, I was able to get my maple out of the mail/Fedex stream (thanks Andrew &#38;amp; Hadley!)&#60;/p&#62;
&#60;p&#62;However, I haven't succeeded doing much with it. Does anybody have a How2 or &#34;getting started&#34; doc? Or even raw notes to get a Maple board doing something simple, e.g. blinking an LED/echoing chars on a serial port?&#60;br /&#62;
Among my confusions is how exactlyto get the Maple talking via USB connection. dfu-util was mentioned (by Andrew, I think), but I could use some pointers on when/how to use that to get the Maple talking. (Or does the USB connection get set up automagically -- if certain conditions are met. If so, what are those magic conditions?)&#60;/p&#62;
&#60;p&#62;Thanks,&#60;/p&#62;
&#60;p&#62;Larry&#60;br /&#62;
ursine @t gmail d0t c0m&#60;/p&#62;
&#60;p&#62;======================================================================&#60;/p&#62;
&#60;p&#62;The gory details (long):&#60;/p&#62;
&#60;p&#62;Running Ubuntu 9.04 (JJ)&#60;/p&#62;
&#60;p&#62;Packages installed:&#60;br /&#62;
subversion&#60;br /&#62;
Java/JRE&#60;br /&#62;
dfu-util&#60;/p&#62;
&#60;p&#62;Downloaded from leaflabs.googlecode.com&#60;/p&#62;
&#60;p&#62;build in .../maple/build/linux proceeds with only (minor I think) messages:&#60;/p&#62;
&#60;p&#62;leaflabs-read-only/trunk/maple/build/linux$ ./make.sh&#60;/p&#62;
&#60;p&#62;Setting up directories to build for Linux...&#60;/p&#62;
&#60;p&#62;Copying examples...&#60;/p&#62;
&#60;p&#62;Extracting reference...&#60;/p&#62;
&#60;p&#62;Extracting JRE...&#60;/p&#62;
&#60;p&#62;Building processing.core&#60;/p&#62;
&#60;p&#62;Note: Some input files use unchecked or unsafe operations.&#60;/p&#62;
&#60;p&#62;Note: Recompile with -Xlint:unchecked for details.&#60;/p&#62;
&#60;p&#62;Done&#60;/p&#62;
&#60;p&#62;The result in Arduino-like GUI. (Titled Arduino 18)&#60;br /&#62;
How to get my Maple talking isn't clear to me. (I'll try plug &#38;amp; pray....)&#60;/p&#62;
&#60;p&#62;=================&#60;/p&#62;
&#60;p&#62;After putting the gcc/relateb binaries on my PATH, building in trunk/build-box *almost* works, but seems to lack a suitable libc:&#60;/p&#62;
&#60;p&#62;larry@larry-laptop:~/mapleStuff/leaflabs-read-only/trunk/build_box$ make&#60;br /&#62;
--&#60;br /&#62;
-- begin --&#60;br /&#62;
build/main.o build/maple_lib.o&#60;br /&#62;
arm-none-eabi-gcc (Sourcery G++ Lite 2009q1-161) 4.3.3&#60;br /&#62;
Copyright (C) 2008 Free Software Foundation, Inc.&#60;br /&#62;
This is free software; see the source for copying conditions. There is NO&#60;br /&#62;
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.&#60;/p&#62;
&#60;p&#62;Linking: build/maple_build.elf&#60;br /&#62;
arm-none-eabi-gcc -mthumb -mcpu=cortex-m3 -mthumb-interwork -I. -O0 -ffunction-sections -fdata-sections -Wall -Wimplicit -Wcast-align -Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow -Wunused -Wa,-adhlns=build/build/main.lst -I./stm32_lib -I./usb_lib -MD -MP -MF .dep/maple_build.elf.d build/stm32_lib/c_only_startup_user.o build/stm32_lib/cortexm3_macro.o build/main.o build/maple_lib.o --output build/maple_build.elf -nostartfiles -Wl,-Map=build/maple_build.map,--cref,--gc-sections -lc -lgcc -Tstm32_lib/c_only_md_RAM.ld&#60;br /&#62;
/home/larry/mapleStuff/leaflabs-read-only/trunk/maple/build/linux/work/hardware/tools/arm/bin/../lib/gcc/arm-none-eabi/4.3.3/../../../../arm-none-eabi/bin/ld: cannot find -lc&#60;br /&#62;
collect2: ld returned 1 exit status&#60;br /&#62;
make: *** build/maple_build.elf Error 1&#60;br /&#62;
larry@larry-laptop:~/mapleStuff/leaflabs-read-only/trunk/build_box$&#60;/p&#62;
&#60;p&#62;I tried using find, but that doesn't seem to turn up libc.a, libc.so or similar:&#60;/p&#62;
&#60;p&#62;larry@larry-laptop:~$ find . -name 'libc.*' -print&#60;br /&#62;
larry@larry-laptop:~$&#60;/p&#62;
&#60;p&#62;-&#60;/p&#62;
&#60;p&#62;There are (too many!?!) files with similar names, but I have no clue if any are suitable substitutes for libc:&#60;/p&#62;
&#60;p&#62;larry@larry-laptop:~$ find . -name 'libc*' -print&#60;/p&#62;
&#60;p&#62;./mapleStuff/leaflabs-read-only/trunk/maple/build/linux/work/java/lib/i386/libcmm.so&#60;br /&#62;
./mapleStuff/leaflabs-read-only/trunk/maple/build/linux/work/hardware/cores/maple/lanchon-stm32/src/libcs3&#60;br /&#62;
./mapleStuff/leaflabs-read-only/trunk/maple/build/linux/work/hardware/cores/maple/lanchon-stm32/src/libcs3arm&#60;br /&#62;
./mapleStuff/leaflabs-read-only/trunk/maple/build/linux/work/hardware/cores/maple/lanchon-stm32/src/libcs3micro&#60;br /&#62;
./mapleStuff/leaflabs-read-only/trunk/maple/build/linux/work/hardware/cores/maple/lanchon-stm32/src/libcs3-lanchon-stm32&#60;br /&#62;
./mapleStuff/leaflabs-read-only/trunk/maple/hardware/cores/maple/lanchon-stm32/src/libcs3&#60;br /&#62;
./mapleStuff/leaflabs-read-only/trunk/maple/hardware/cores/maple/lanchon-stm32/src/libcs3arm&#60;br /&#62;
./mapleStuff/leaflabs-read-only/trunk/maple/hardware/cores/maple/lanchon-stm32/src/libcs3micro&#60;br /&#62;
./mapleStuff/leaflabs-read-only/trunk/maple/hardware/cores/maple/lanchon-stm32/src/libcs3-lanchon-stm32&#60;br /&#62;
./mapleStuff/leaflabs-read-only/trunk/library/stm32conf/lanchon-stm32/libcs3-lanchon-stm32.a&#60;br /&#62;
./mapleStuff/leaflabs-read-only/trunk/library/stm32conf/lanchon-stm32/src/libcs3&#60;br /&#62;
./mapleStuff/leaflabs-read-only/trunk/library/stm32conf/lanchon-stm32/src/libcs3arm&#60;br /&#62;
./mapleStuff/leaflabs-read-only/trunk/library/stm32conf/lanchon-stm32/src/libcs3micro&#60;br /&#62;
./mapleStuff/leaflabs-read-only/trunk/library/stm32conf/lanchon-stm32/src/libcs3-lanchon-stm32&#60;br /&#62;
./mapleStuff/leaflabs-read-only/trunk/library/stm32conf/lanchon-stm32/.svn/text-base/libcs3-lanchon-stm32.a.svn-base&#60;br /&#62;
./mapleStuff/leaflabs-read-only/trunk/library/stm32conf/lanchon-stm32/.svn/prop-base/libcs3-lanchon-stm32.a.svn-base&#60;br /&#62;
larry@larry-laptop:~$&#60;/p&#62;
&#60;p&#62;Apologies for the long post,&#60;/p&#62;
&#60;p&#62;Larry
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
