<?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; User Favorites: vonnieda</title>
		<link><a href='http://forums.leaflabs.com/profile.php?id=3634'>3634</a></link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:20:53 +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?profile=3634" rel="self" type="application/rss+xml" />

		<item>
			<title>feurig on "Has any user created a SD memory shield/library from the Arduino to the Maple?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=112&amp;page=10#post-26464</link>
			<pubDate>Tue, 04 Jun 2013 20:30:01 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">26464@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Yeah I will try to get that done in the next few days
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "Has any user created a SD memory shield/library from the Arduino to the Maple?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=112&amp;page=10#post-26423</link>
			<pubDate>Mon, 03 Jun 2013 12:21:37 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">26423@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;feurig - apropos PITA, my favourite is hummus with grilled bacon and tomatoes - yum :-)&#60;/p&#62;
&#60;p&#62;Would a committer please try to find time to remove the &#34;Arduino style&#34; examples, or at least post a warning on the source?&#60;/p&#62;
&#60;p&#62;(Full disclosure: I am not a member of LeafLabs staff.)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>feurig on "Has any user created a SD memory shield/library from the Arduino to the Maple?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=112&amp;page=10#post-26421</link>
			<pubDate>Mon, 03 Jun 2013 11:41:03 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">26421@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;We should have pulled the &#34;Arduino Style&#34; examples out of the library. They really have been a PITA with no tziki sauce.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "Has any user created a SD memory shield/library from the Arduino to the Maple?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=112&amp;page=10#post-26417</link>
			<pubDate>Mon, 03 Jun 2013 10:46:41 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">26417@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Yogybear - Thank you for following up by posting the solution. It all helps!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Yogybear on "Has any user created a SD memory shield/library from the Arduino to the Maple?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=112&amp;page=10#post-26415</link>
			<pubDate>Mon, 03 Jun 2013 08:43:35 +0000</pubDate>
			<dc:creator>Yogybear</dc:creator>
			<guid isPermaLink="false">26415@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;[Solved]&#60;/p&#62;
&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;my problem got solved by using this library: &#60;a href=&#34;https://www.olimex.com/Products/Duino/STM32/OLIMEXINO-STM32/resources/SDCARD_Lib+Examples_MapleIDE_from_leaflabs_forum.zip&#34; rel=&#34;nofollow&#34;&#62;https://www.olimex.com/Products/Duino/STM32/OLIMEXINO-STM32/resources/SDCARD_Lib+Examples_MapleIDE_from_leaflabs_forum.zip&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Thank you.&#60;/p&#62;
&#60;p&#62;Cheers,&#60;br /&#62;
Yogybear&#60;/p&#62;
&#60;p&#62;[SOLVED]
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Yogybear on "Has any user created a SD memory shield/library from the Arduino to the Maple?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=112&amp;page=10#post-26413</link>
			<pubDate>Mon, 03 Jun 2013 07:39:46 +0000</pubDate>
			<dc:creator>Yogybear</dc:creator>
			<guid isPermaLink="false">26413@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;currently I'm trying to get some sd-card lib example code running - without any success at all.&#60;/p&#62;
&#60;p&#62;What I'm using:&#60;/p&#62;
&#60;p&#62;- library: &#60;a href=&#34;http://code.google.com/p/maple-sdfat/downloads/detail?name=maple-sdfat.zip&#38;amp;can=2&#38;amp;q=&#34; rel=&#34;nofollow&#34;&#62;http://code.google.com/p/maple-sdfat/downloads/detail?name=maple-sdfat.zip&#38;amp;can=2&#38;amp;q=&#60;/a&#62; (Jul 2012)&#60;br /&#62;
- Olimexino-STM32 Rev.B&#60;br /&#62;
- Maple IDE v0.0.12&#60;br /&#62;
- Ubuntu 12.04 LTS (if this Info matters...)&#60;/p&#62;
&#60;p&#62;What I tried:&#60;/p&#62;
&#60;p&#62;I copied the library files with the example codes into my maple directory. My sd-card is empty and formatted in FAT. I plugged my Olimexino with sd-card (4GB class 10) included in my laptop. Started maple and opened file example file &#34;SdFatInfo&#34;. I tried to compile the code...&#60;/p&#62;
&#60;p&#62;What I get:&#60;/p&#62;
&#60;p&#62;Pastebin link: &#60;a href=&#34;http://pastebin.com/jbUVGXrx&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/jbUVGXrx&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I don't get it... &#60;/p&#62;
&#60;p&#62;I appreciate any advice and help I could get.&#60;/p&#62;
&#60;p&#62;Thanks in advance. :)&#60;/p&#62;
&#60;p&#62;Kind regards,&#60;br /&#62;
Yogybear
&#60;/p&#62;</description>
		</item>
		<item>
			<title>crenn on "Has any user created a SD memory shield/library from the Arduino to the Maple?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=112&amp;page=10#post-26316</link>
			<pubDate>Thu, 30 May 2013 16:36:35 +0000</pubDate>
			<dc:creator>crenn</dc:creator>
			<guid isPermaLink="false">26316@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;The errors in that copy were know I believe. Have you tried using the library from here:&#60;br /&#62;
&#60;a href=&#34;http://code.google.com/p/maple-sdfat/&#34; rel=&#34;nofollow&#34;&#62;http://code.google.com/p/maple-sdfat/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;That library is more upto date and should compile with no issues
&#60;/p&#62;</description>
		</item>
		<item>
			<title>iainism on "Has any user created a SD memory shield/library from the Arduino to the Maple?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=112&amp;page=10#post-26293</link>
			<pubDate>Wed, 29 May 2013 05:05:47 +0000</pubDate>
			<dc:creator>iainism</dc:creator>
			<guid isPermaLink="false">26293@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;@gbulmer I wish there was a 'kudos' or similar function in this forum for that post.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ventosardegna on "Has any user created a SD memory shield/library from the Arduino to the Maple?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=112&amp;page=10#post-26262</link>
			<pubDate>Mon, 27 May 2013 14:24:35 +0000</pubDate>
			<dc:creator>ventosardegna</dc:creator>
			<guid isPermaLink="false">26262@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;@gbulmer many thanks for the explanation. it's really understandable and useful. I will give you a feedback next days about this work!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "Has any user created a SD memory shield/library from the Arduino to the Maple?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=112&amp;page=10#post-26261</link>
			<pubDate>Mon, 27 May 2013 12:34:01 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">26261@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;ventosardegna - &#60;em&#62;&#34;I've found a lot of compile errors.&#60;br /&#62;
1)&#60;br /&#62;
For example uint8_t, uint16_t, etc... I have manually changed header and cpp files removing &#34;_t&#34; because the compiler doesn't recognize the type with &#34;_t&#34;. Is it correct?&#34;&#60;/em&#62;&#60;/p&#62;
&#60;p&#62;No that isn't correct.&#60;br /&#62;
A good approach would be to find where uint8_t is declarared, and try '#include'ing that file.&#60;br /&#62;
It is in stdint.h along with uint16_t.&#60;/p&#62;
&#60;p&#62;I'd recommend starting from the original source, and add&#60;br /&#62;
&#60;code&#62;#include &#38;lt;stdint.h&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Here's an approach which I hope you and others will find useful.&#60;/p&#62;
&#60;p&#62;When I get lots of errors from the compiler about one or two names that aren't declared, I start by assuming the names are probably correct. I assume the source code in libraries probably works, and it is the file which is using those libraries which contains an error.&#60;/p&#62;
&#60;p&#62;Statistically, this assumption seems plausible. Otherwise it is likely that others would have mentioned the error, or the error would have been fixed (and I wouldn't see the error).&#60;/p&#62;
&#60;p&#62;Then I do some of these things:&#60;br /&#62;
a) if I don't really understand the error message, I paste the whole error message into a search engine, and see what it finds.&#60;br /&#62;
Very often it'll give a match with an explanation. If the error message explanation seems to be too general put a '+' in front of the words that are the biggest problem. In this case '+unint8_t'.&#60;/p&#62;
&#60;p&#62;b) if I think I understand the message and so only want to find information about the specific name, I'd put the name into the search engine, along with a word to narrow the search, like &#34;header&#34; or &#34;declare&#34; or &#34;define&#34;, for example 'unint8_t declare'&#60;br /&#62;
This usually gives lots of clues in the snippet of text presented by the search engine, and enough information is printed in the results page that there is only a need to look at a few pages.&#60;/p&#62;
&#60;p&#62;c) Try to find a declaration in a source code file for the name in the error message.&#60;br /&#62;
On *NIX (e.g. OS X, Linux, BSD, etc.) use grep or find+grep to locate files which may contain the name. These systems have things like &#34;Spotlight&#34; which find a specific word, but that type of search may be far too wide and imprecise. &#60;/p&#62;
&#60;p&#62;With C/C++ (which is the underlying stuff used for Arduino and Maple), I'd focus my initial search on header files. These should contain all declarations of names which are being shared. So I'd locate the files ending in '.h' within the MapleIDE's set of files.&#60;br /&#62;
&#60;code&#62;find . -name &#38;#39;*.h&#38;#39; -print&#60;/code&#62;&#60;br /&#62;
will find all of the files ending in .h located in the current directory and in subdirectories. There will be a lot.&#60;br /&#62;
Then to find &#60;code&#62;uint8_t&#60;/code&#62; in each file, use grep.&#60;br /&#62;
There are two ways (I know of) but the forum software will eat the special back-quote characters that one uses, so here is the other one:&#60;br /&#62;
&#60;code&#62;find . -name &#38;#39;*.h&#38;#39;  -print &#124; xargs grep &#38;#39;uint8_t&#38;#39;&#60;/code&#62;&#60;br /&#62;
This can be improved by using the '-w' flag, which tells grep to only match complete 'words', i.e. only uint8_t and not __uint8_t&#60;br /&#62;
&#60;code&#62;find . -name &#38;#39;*.h&#38;#39;  -print &#124; xargs grep -w &#38;#39;uint8_t&#38;#39;&#60;/code&#62;&#60;br /&#62;
This will print all of the lines which contain the word 'uint8_t'.&#60;br /&#62;
There are still quite a lot.&#60;br /&#62;
So reduce that to lines which contain a definition of uint8_t, and not just the word.&#60;br /&#62;
There are two ways to introduce the name in C/C++. One is with a macro, which would say '&#60;code&#62;#define uint8_t&#60;/code&#62;' the other is a &#60;code&#62;typedef&#60;/code&#62;&#60;br /&#62;
So try both:&#60;br /&#62;
&#60;code&#62;find . -name &#38;#39;*.h&#38;#39;  -print &#124; xargs grep -w &#38;#39;uint8_t&#38;#39; &#124; grep &#38;#39;#define&#38;#39;&#60;/code&#62;&#60;br /&#62;
&#60;code&#62;find . -name &#38;#39;*.h&#38;#39;  -print &#124; xargs grep -w &#38;#39;uint8_t&#38;#39; &#124; grep &#38;#39;typedef&#38;#39;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;This locates:&#60;br /&#62;
&#60;code&#62;./hardware/tools/arm/arm-none-eabi/include/stdint.h:typedef unsigned char uint8_t ;&#60;/code&#62;&#60;br /&#62;
So the type &#60;code&#62;uint8_t&#60;/code&#62; is declared in stdint.h&#60;br /&#62;
I'd try putting&#60;br /&#62;
&#60;code&#62;#include &#38;lt;stdint.h&#38;gt;&#60;/code&#62;&#60;br /&#62;
Into the source file, and see if that reduces or increases the number of errors.&#60;/p&#62;
&#60;p&#62;I hope that helps.&#60;/p&#62;
&#60;p&#62;(NB: this could be done with a smarter regular expression, but this is good enough)&#60;br /&#62;
(Edit: I added '-print' to the &#60;code&#62;find&#60;/code&#62; commands just in case some OS has a wacky old &#60;code&#62;find&#60;/code&#62;, but I expect it is not needed)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ventosardegna on "Has any user created a SD memory shield/library from the Arduino to the Maple?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=112&amp;page=10#post-26257</link>
			<pubDate>Mon, 27 May 2013 08:54:49 +0000</pubDate>
			<dc:creator>ventosardegna</dc:creator>
			<guid isPermaLink="false">26257@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Ok guys, sorry for all these posts, however I've commented the lines in SdFatUtil.h.&#60;br /&#62;
What I've understood is that the functions that I've commented need for Arduino (store in flash instead of RAM.. Maple does not have this kind of problem... because it has 20Kb of RAM).&#60;/p&#62;
&#60;p&#62;I'have commented these lines:&#60;/p&#62;
&#60;p&#62;//------------------------------------------------------------------------------&#60;br /&#62;
/**&#60;br /&#62;
 * %Print a string in flash memory to the serial port.&#60;br /&#62;
 *&#60;br /&#62;
 * \param[in] str Pointer to string stored in flash memory.&#60;br /&#62;
 */&#60;br /&#62;
 /*&#60;br /&#62;
static NOINLINE void SerialPrint_P(PGM_P str) {&#60;br /&#62;
  for (uint8_t c; (c = pgm_read_byte(str)); str++) Serial.print(c);&#60;br /&#62;
}&#60;br /&#62;
*/&#60;br /&#62;
//------------------------------------------------------------------------------&#60;br /&#62;
/**&#60;br /&#62;
 * %Print a string in flash memory followed by a CR/LF.&#60;br /&#62;
 *&#60;br /&#62;
 * \param[in] str Pointer to string stored in flash memory.&#60;br /&#62;
 */&#60;br /&#62;
 /*&#60;br /&#62;
static NOINLINE void SerialPrintln_P(PGM_P str) {&#60;br /&#62;
  SerialPrint_P(str);&#60;br /&#62;
  Serial.println();&#60;br /&#62;
}&#60;br /&#62;
*/&#60;/p&#62;
&#60;p&#62;In this case I don't have any compile errors.... I try to write a little sketch
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ventosardegna on "Has any user created a SD memory shield/library from the Arduino to the Maple?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=112&amp;page=10#post-26255</link>
			<pubDate>Mon, 27 May 2013 07:48:02 +0000</pubDate>
			<dc:creator>ventosardegna</dc:creator>
			<guid isPermaLink="false">26255@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;ok.. I've seen that a lot of compile errors have been removed if I put the include files in this order:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;#include &#38;lt;SdFat.h&#38;gt;
#include &#38;lt;SdFatmainpage.h&#38;gt;
#include &#38;lt;SdInfo.h&#38;gt;
#include &#38;lt;Sd2Card.h&#38;gt;
#include &#38;lt;FatStructs.h&#38;gt;
#include &#38;lt;SdFatmainpage.h&#38;gt;
#include &#38;lt;Sd2PinMap.h&#38;gt;

#include &#38;lt;SdFatUtil.h&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I've only some error when I include &#38;lt;SdFatUtil.h&#38;gt;. Here:&#60;/p&#62;
&#60;p&#62;SdFat/SdFatUtil.h:57: error: variable or field 'SerialPrint_P' declared void&#60;/p&#62;
&#60;p&#62;SdFat/SdFatUtil.h:57: error: 'PGM_P' was not declared in this scope&#60;/p&#62;
&#60;p&#62;SdFat/SdFatUtil.h:66: error: variable or field 'SerialPrintln_P' declared void&#60;/p&#62;
&#60;p&#62;SdFat/SdFatUtil.h:66: error: 'PGM_P' was not declared in this scope&#60;/p&#62;
&#60;p&#62;how can I fix that?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ventosardegna on "Has any user created a SD memory shield/library from the Arduino to the Maple?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=112&amp;page=10#post-26254</link>
			<pubDate>Mon, 27 May 2013 07:40:18 +0000</pubDate>
			<dc:creator>ventosardegna</dc:creator>
			<guid isPermaLink="false">26254@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi guys, first of all many thanks for the effort on this project. Your job is really appreciated here in Italy too.&#60;br /&#62;
I've just a couple of questions. I've downloaded your libraries for maple from: &#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://crennsmind.com/Code/Maple/SDFat/SdFat-12-08-11.zip&#34; rel=&#34;nofollow&#34;&#62;http://crennsmind.com/Code/Maple/SDFat/SdFat-12-08-11.zip&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;but I've found a lot of compile errors.&#60;br /&#62;
1)&#60;br /&#62;
For example uint8_t, uint16_t, etc... I have manually changed header and cpp files removing &#34;_t&#34; because the compiler doesn't recognize the type with &#34;_t&#34;. Is it correct? &#60;/p&#62;
&#60;p&#62;2)&#60;br /&#62;
how can i fix this:&#60;/p&#62;
&#60;p&#62;SdFatUtil.h:66: error: variable or field 'SerialPrintln_P' declared void&#60;/p&#62;
&#60;p&#62;SdFatUtil.h:57: error: 'PGM_P' was not declared in this scope&#60;/p&#62;
&#60;p&#62;SdFat.h:535: error: 'FAT32EOC_MIN' was not declared in this scope&#60;/p&#62;
&#60;p&#62;FatStructs.h:411: error: expected constructor, destructor, or type conversion before 'const'&#60;/p&#62;
&#60;p&#62;Maybe I missing some #include files? Or is it important the order of include files?&#60;br /&#62;
Thanks in advance.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>feurig on "Has any user created a SD memory shield/library from the Arduino to the Maple?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=112&amp;page=10#post-25721</link>
			<pubDate>Tue, 07 May 2013 15:14:16 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">25721@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Its been about 6 months since I ran up code in this corner.  Its probably just not getting flushed back to the file system. A lot of this stuff gets done in memory and written later.&#60;br /&#62;
I will take a look at this later this afternoon.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Twinkle on "Has any user created a SD memory shield/library from the Arduino to the Maple?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=112&amp;page=9#post-25714</link>
			<pubDate>Tue, 07 May 2013 04:19:29 +0000</pubDate>
			<dc:creator>Twinkle</dc:creator>
			<guid isPermaLink="false">25714@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Thanks feurig! &#60;/p&#62;
&#60;p&#62;I tried running this example: &#60;a href=&#34;https://gist.github.com/anonymous/5531319&#34; rel=&#34;nofollow&#34;&#62;https://gist.github.com/anonymous/5531319&#60;/a&#62;. In this code, I have commented out all those parts which use 'WDTCSR' as otherwise it says that 'WDTCSR' is not declared in that code. Now, it does not show any compilation error. But, somehow, no file is being created in my memory card.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
