<?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: How I identificate the board for adapt a library from arduino to MAPLE?</title>
		<link>http://forums.leaflabs.com/topic.php?id=2220</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:13:39 +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=2220" rel="self" type="application/rss+xml" />

		<item>
			<title>feurig on "How I identificate the board for adapt a library from arduino to MAPLE?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2220#post-12472</link>
			<pubDate>Thu, 16 Aug 2012 20:09:27 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">12472@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;mbolivar,&#60;/p&#62;
&#60;p&#62;This is getting more important as the new include style is breaking the libraries that we are trying to port to both the ide and libmaple. (crenn and I are trying to work on the maple-sdfat libary and are running into this already).&#60;/p&#62;
&#60;p&#62;I will try to figure out an approach.&#60;/p&#62;
&#60;p&#62;ps. why don't you ever hang in the channel any more :)&#60;/p&#62;
&#60;p&#62;Don.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbolivar on "How I identificate the board for adapt a library from arduino to MAPLE?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2220#post-12452</link>
			<pubDate>Wed, 15 Aug 2012 14:53:22 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">12452@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Thanks!&#60;/p&#62;
&#60;p&#62;I think something like &#60;code&#62;git describe&#60;/code&#62; might be of use here. (Or &#60;code&#62;git describe --tags&#60;/code&#62; for now, as I didn't use signed tags for v0.0.10-v0.0.12. I will use a signed tag for the next release.)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>feurig on "How I identificate the board for adapt a library from arduino to MAPLE?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2220#post-12435</link>
			<pubDate>Wed, 15 Aug 2012 02:00:07 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">12435@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Mbolivar. Didnt see the patch request. I will put this on my todo list.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbolivar on "How I identificate the board for adapt a library from arduino to MAPLE?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2220#post-11885</link>
			<pubDate>Fri, 20 Jul 2012 22:23:37 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">11885@http://forums.leaflabs.com/</guid>
			<description>&#60;blockquote&#62;&#60;p&#62;
__LIBMAPLE__ macro and a __LIBMAPLE_VERSION__ version so we could behave appropriately.&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;agree. care to submit a patch? i think the linux kernel uses some git-fu to make this all work out even for development versions.&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
STM_32MCU_SERIES to MCU_SERIES, allowing ARMs from other manufacturers.&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;disagree. i'd rather have something like a &#60;code&#62;LIBMAPLE_MCU_MANUFACTURER&#60;/code&#62;, taking values like &#60;code&#62;LIBMAPLE_MCU_MANUFACTURER_ST&#60;/code&#62;, etc., so that you could organize the conditional compilation in a tree.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "How I identificate the board for adapt a library from arduino to MAPLE?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2220#post-11883</link>
			<pubDate>Fri, 20 Jul 2012 19:27:19 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">11883@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;@feurig&#60;/p&#62;
&#60;p&#62;I think it's cool!&#60;/p&#62;
&#60;p&#62;However, I do not know there is a restriction of the Maple project to other ARM processors, if no restrictions, it is interesting that the macro is changed from STM_32MCU_SERIES to MCU_SERIES, allowing ARMs from other manufacturers.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>feurig on "How I identificate the board for adapt a library from arduino to MAPLE?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2220#post-11871</link>
			<pubDate>Fri, 20 Jul 2012 14:54:02 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">11871@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;The last word I got when I asked this question was to use the board defines. The STM_32MCU_SERIES is what made more sense to me since it covers all of the existing leaflabs boards and boards like the olimexino. It would be nice if there were a __LIBMAPLE__ macro and a __LIBMAPLE_VERSION__ version so we could behave appropriately. They are probably putting this off until the wiring merge.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "How I identificate the board for adapt a library from arduino to MAPLE?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2220#post-11868</link>
			<pubDate>Fri, 20 Jul 2012 12:28:50 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">11868@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hello all.&#60;/p&#62;
&#60;p&#62;in order to adapt some of the Arduino libraries for the Maple I need to identify what the Board used.&#60;/p&#62;
&#60;p&#62;In avr-gcc there are some macros that do this for example:&#60;/p&#62;
&#60;p&#62;__AVR_ATmega328, AVR_ATmega2560, __ AVR__, and _BOARD_UNO_ _BOARD_MEGA_&#60;/p&#62;
&#60;p&#62;Can not find the equivalent macros MAPLE, something that can tell me __ ARM__, _BOARD_MAPLE, I have found a macro that I could say STM32_MCU_SERIES (comparing it equals STM32_SERIES_F1 _F2 OR ...) but does not believe is what I want.&#60;/p&#62;
&#60;p&#62;Where can I find information for it.&#60;/p&#62;
&#60;p&#62;Grateful for any guidance
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
