<?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: New lib compliling support</title>
		<link>http://forums.leaflabs.com/topic.php?id=1124</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:24:43 +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=1124" rel="self" type="application/rss+xml" />

		<item>
			<title>mbolivar on "New lib compliling support"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1124#post-6930</link>
			<pubDate>Thu, 20 Oct 2011 22:47:34 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">6930@http://forums.leaflabs.com/</guid>
			<description>&#60;blockquote&#62;&#60;p&#62;
&#38;lt;avr/io.h&#38;gt; now I changed it to just io.h&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;This will not work.  The &#34;avr/&#34; part means it's an AVR-specific header.  The Arduino boards are based on the AVR architecture, while Maple is based off of ARM.  This means that code that relies on AVR-specific features (like those present in avr/io.h) will not work on the Maple.&#60;/p&#62;
&#60;p&#62;There is a file in libmaple called io.h, but that's just a coincidence. It has nothing to do with the avr/io.h header.&#60;/p&#62;
&#60;p&#62;Perhaps you can give us a link to the library? Maybe we can figure out what parts of avr/io.h it uses, and what the equivalent things are on ARM.&#60;/p&#62;
&#60;p&#62;Like it says in the &#60;a href=&#34;http://forums.leaflabs.com/topic.php?id=994&#34;&#62;Guidelines for Posting&#60;/a&#62;,&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
If you want help porting a library (or checking if it works), provide a link to the library in your post.&#60;/p&#62;
&#60;/blockquote&#62;</description>
		</item>
		<item>
			<title>gbulmer on "New lib compliling support"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1124#post-6905</link>
			<pubDate>Wed, 19 Oct 2011 06:46:24 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">6905@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;youthreewire - are you using the Maple IDE?&#60;/p&#62;
&#60;p&#62;The Maple IDE seems completely happy with compiling the Blink program with a couple of extra declarations (though I haven't uploaded):&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;uint8 f = HIGH;
uint32 g = LOW;

void setup()   {
  pinMode(13, OUTPUT);
}

void loop()
{

  digitalWrite(13, f);   // set the LED on
  delay(100);                  // wait for a second
  digitalWrite(13, g);    // set the LED off
  delay(100);                  // wait for a second
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;You could&#60;br /&#62;
&#60;code&#62;#include &#38;quot;libmaple_types.h&#38;quot;&#60;/code&#62;&#60;br /&#62;
if those types are all you need. &#60;/p&#62;
&#60;p&#62;(full disclosure: I am not a member of LeafLabs staff.)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>youthreewire on "New lib compliling support"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1124#post-6903</link>
			<pubDate>Wed, 19 Oct 2011 06:16:12 +0000</pubDate>
			<dc:creator>youthreewire</dc:creator>
			<guid isPermaLink="false">6903@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I am porting a lib from arduino. Previously in its header file it was written as &#38;lt;avr/io.h&#38;gt; now I changed it to just io.h but it says uint8 and uint32 not defined. How shall I handle this error?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
