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

		<item>
			<title>mbolivar on "CPU Identifier"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1664&amp;page=2#post-10598</link>
			<pubDate>Thu, 10 May 2012 18:16:17 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">10598@http://forums.leaflabs.com/</guid>
			<description>&#60;blockquote&#62;&#60;p&#62;
What's not easy to deal with is that none of the 6 IDEs —Arduino 0023 and 1.0, MPIDE, Energia, Wiring, MapleIDE— share the same norms, although all claim to be Processing- and Wiring-based or derived.
&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;Yes, the situation is completely out of control. Thank you very much for your efforts to reconcile the various implementations!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Rei Vilo on "CPU Identifier"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1664#post-10594</link>
			<pubDate>Thu, 10 May 2012 15:43:45 +0000</pubDate>
			<dc:creator>Rei Vilo</dc:creator>
			<guid isPermaLink="false">10594@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Thank you for your detailed answers.&#60;/p&#62;
&#60;blockquote&#62;&#60;blockquote&#62;• Are you considering modifying the .build.mcu key —as in maple.build.mcu— in the boards.txt file?
&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;No; this is a libmaple-only change (and the Make-based libmaple build system doesn't use boards.txt files). Is there some reason to change those? For example, are they annoying you in some way?&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;Not at all. &#60;/p&#62;
&#60;p&#62;I raised that question only to be ready for the next release, as embedXcode uses the &#60;code&#62;.build.mcu&#60;/code&#62; key from &#60;code&#62;boards.txt&#60;/code&#62;.&#60;/p&#62;
&#60;blockquote&#62;&#60;blockquote&#62;• Are you considering using __STM32_SERIES_F1__ instead of STM32_SERIES_F1 for better readability?&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;No, and I don't think that's more readable. [...]&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;The explanation is clear.&#60;/p&#62;
&#60;p&#62;What's not easy to deal with is that none of the 6 IDEs —Arduino 0023 and 1.0, MPIDE, Energia, Wiring, MapleIDE— share the same norms, although all claim to be Processing- and Wiring-based or derived. &#60;/p&#62;
&#60;p&#62;So you can imagine the complexity my embedXcode project has to cope with!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbolivar on "CPU Identifier"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1664#post-10574</link>
			<pubDate>Wed, 09 May 2012 08:31:20 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">10574@http://forums.leaflabs.com/</guid>
			<description>&#60;blockquote&#62;&#60;p&#62;
• Are you considering modifying the .build.mcu key —as in maple.build.mcu— in the boards.txt file?&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;No; this is a libmaple-only change (and the Make-based libmaple build system doesn't use boards.txt files). Is there some reason to change those? For example, are they annoying you in some way?&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
• Are you considering using __STM32_SERIES_F1__ instead of STM32_SERIES_F1 for better readability?&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;No, and I don't think that's more readable.&#60;/p&#62;
&#60;p&#62;Names with underscores before or after (and more so with _double_ underscores before _and_ after!) are often used to indicate that something special is going on. In fact, double-underscore identifiers are technically reserved for use by the compiler (though we do &#34;cheat&#34; and &#60;a href=&#34;https://github.com/leaflabs/libmaple/blob/v0.0.12/libmaple/libmaple_types.h#L49&#34;&#62;use them sometimes&#60;/a&#62;). If the AVR MCU identifiers are provided by avr-gcc, then that's one thing, but the STM32_SERIES_xxx are part of libmaple, and are just normal defines used to avoid magic numbers.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Rei Vilo on "CPU Identifier"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1664#post-10572</link>
			<pubDate>Wed, 09 May 2012 05:58:48 +0000</pubDate>
			<dc:creator>Rei Vilo</dc:creator>
			<guid isPermaLink="false">10572@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Two questions:&#60;/p&#62;
&#60;p&#62;• Are you considering modifying the &#60;code&#62;.build.mcu&#60;/code&#62; key —as in &#60;code&#62;maple.build.mcu&#60;/code&#62;— in the &#60;code&#62;boards.txt&#60;/code&#62; file?&#60;br /&#62;
• Are you considering using &#60;code&#62;__STM32_SERIES_F1__&#60;/code&#62; instead of &#60;code&#62;STM32_SERIES_F1&#60;/code&#62; for better readability?&#60;/p&#62;
&#60;p&#62;Thank you!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbolivar on "CPU Identifier"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1664#post-10549</link>
			<pubDate>Tue, 08 May 2012 22:56:01 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">10549@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;rei:&#60;/p&#62;
&#60;p&#62;there are some changes to libmaple/stm32.h in the pipeline which will also make this easier. the development branch is wip-family-support:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;https://github.com/leaflabs/libmaple/tree/wip-family-support/&#34; rel=&#34;nofollow&#34;&#62;https://github.com/leaflabs/libmaple/tree/wip-family-support/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;we're updating the &#38;lt;libmaple/stm32.h&#38;gt; include to make it easier to interrogate libmaple about the current build target. new features include:&#60;/p&#62;
&#60;p&#62;- STM32_MCU_SERIES: series for the current target. values are STM32_SERIES_F1, STM32_SERIES_F2, etc.&#60;br /&#62;
- (for STM32F1 targets): STM32_F1_LINE: line for the current target. values are STM32_LINE_PERFORMANCE, STM32_LINE_VALUE, etc.&#60;/p&#62;
&#60;p&#62;thanks to anton eltchaninov, there's going to be value line support in the mainline libmaple tree! F2/F4 work is also getting closer. check out the code for more details. i've also started to update the documentation for this; for now, you can watch the leaflabs-docs branch libmaple-next for more:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;https://github.com/leaflabs/leaflabs-docs/tree/libmaple-next&#34; rel=&#34;nofollow&#34;&#62;https://github.com/leaflabs/leaflabs-docs/tree/libmaple-next&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;this work has been a long time coming. it's not ready for prime time yet, but we'll be sure to write a blog post when this branch is merged into master.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Rei Vilo on "CPU Identifier"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1664#post-10535</link>
			<pubDate>Tue, 08 May 2012 14:07:43 +0000</pubDate>
			<dc:creator>Rei Vilo</dc:creator>
			<guid isPermaLink="false">10535@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>crenn on "CPU Identifier"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1664#post-10531</link>
			<pubDate>Tue, 08 May 2012 08:24:42 +0000</pubDate>
			<dc:creator>crenn</dc:creator>
			<guid isPermaLink="false">10531@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;*IDE Directory*/hardware/leaflabs/cores/maple/stm32.h&#60;/p&#62;
&#60;p&#62;MCU_STM32F103RB LeafLabs Maple&#60;br /&#62;
MCU_STM32F103ZE LeafLabs Maple Native&#60;br /&#62;
MCU_STM32F103CB LeafLabs Maple Mini&#60;br /&#62;
MCU_STM32F103RE LeafLabs Maple RET6 edition
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Rei Vilo on "CPU Identifier"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1664#post-10530</link>
			<pubDate>Tue, 08 May 2012 08:18:13 +0000</pubDate>
			<dc:creator>Rei Vilo</dc:creator>
			<guid isPermaLink="false">10530@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi!&#60;/p&#62;
&#60;p&#62;Most of the Processing-based IDEs as LeafLabs MapleIDE have a unique identifier for the CPU. &#60;/p&#62;
&#60;p&#62;Examples:&#60;br /&#62;
• Arduino: &#60;code&#62;__AVR_ATmega328P__ __AVR_ATmega2560_&#60;/code&#62;&#60;br /&#62;
• chipKIT MPIDE: &#60;code&#62;__32MX320F128H__ __32MX795F512L__&#60;/code&#62;&#60;br /&#62;
• Wiring: &#60;code&#62;__AVR_ATmega644P__&#60;/code&#62;&#60;br /&#62;
• LaunchPad Energia: &#60;code&#62;__MSP430G2452__ __MSP430G2553__ __MSP430G2231__&#60;/code&#62;&#60;br /&#62;
• MapleIDE: ?&#60;/p&#62;
&#60;p&#62;What are the identifiers for MapleIDE and where are they defined?&#60;/p&#62;
&#60;p&#62;This is critical for my embedXcode project, Xcode for embedded computing. Learn more about embedXcode at &#60;a href=&#34;http://embedxcode.weebly.com/&#34; rel=&#34;nofollow&#34;&#62;http://embedxcode.weebly.com/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
