<?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: A direct challenge to the Maple A Team ... Scanf</title>
		<link>http://forums.leaflabs.com/topic.php?id=65</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:17:45 +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=65" rel="self" type="application/rss+xml" />

		<item>
			<title>perry on "A direct challenge to the Maple A Team ... Scanf"</title>
			<link>http://forums.leaflabs.com/topic.php?id=65#post-348</link>
			<pubDate>Fri, 25 Jun 2010 14:38:26 +0000</pubDate>
			<dc:creator>perry</dc:creator>
			<guid isPermaLink="false">348@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;There are newlib-supplied iprintf/iscanf functions that do not support floating point specifiers are are approximately half the size of their larger brothers.&#60;/p&#62;
&#60;p&#62;I'll try to do the plumbing needed today to let you read out/into the serial port. If you look at syscalls.c, it already used to do that--I commented those lines out after I removed the stm32 peripheral library.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>poslathian on "A direct challenge to the Maple A Team ... Scanf"</title>
			<link>http://forums.leaflabs.com/topic.php?id=65#post-345</link>
			<pubDate>Fri, 25 Jun 2010 13:56:17 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">345@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;be prepared to burn a non negligible amount of your flash! I managed to get by with atoi and int2str that were hand coded and came in at only an extra k. Pull in printf and be prepared to spend 25k of program rom. Of course, that might not be a huge deal for a lot of projects.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>leaflabsandy on "A direct challenge to the Maple A Team ... Scanf"</title>
			<link>http://forums.leaflabs.com/topic.php?id=65#post-321</link>
			<pubDate>Thu, 24 Jun 2010 09:35:56 +0000</pubDate>
			<dc:creator>leaflabsandy</dc:creator>
			<guid isPermaLink="false">321@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Having both scanf and printf would be even better!&#60;br /&#62;
If both functions are already in the &#34;library-libc&#34; and only&#60;br /&#62;
the &#34;hooks&#34; are needed to attached to the Uart(s) then&#60;br /&#62;
by having both commands, would it greatly increase the&#60;br /&#62;
Maple's overhead?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>perry on "A direct challenge to the Maple A Team ... Scanf"</title>
			<link>http://forums.leaflabs.com/topic.php?id=65#post-317</link>
			<pubDate>Wed, 23 Jun 2010 20:55:48 +0000</pubDate>
			<dc:creator>perry</dc:creator>
			<guid isPermaLink="false">317@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;'Real' scanf.&#60;/p&#62;
&#60;p&#62;printf/scanf are already implemented and come as part of newlib (libc). all that really needs to be done is to implement a handful of lower level newlib syscall stubs to read/write out a uart.&#60;/p&#62;
&#60;p&#62;see libmaple/syscalls.c for where they are in the libmaple tree.&#60;/p&#62;
&#60;p&#62;I can put it on my stack, or if somebody wants to implement it, patches are welcome.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>leaflabsandy on "A direct challenge to the Maple A Team ... Scanf"</title>
			<link>http://forums.leaflabs.com/topic.php?id=65#post-315</link>
			<pubDate>Wed, 23 Jun 2010 19:20:28 +0000</pubDate>
			<dc:creator>leaflabsandy</dc:creator>
			<guid isPermaLink="false">315@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;'real' C standard scanf - would make serial input easy.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "A direct challenge to the Maple A Team ... Scanf"</title>
			<link>http://forums.leaflabs.com/topic.php?id=65#post-314</link>
			<pubDate>Wed, 23 Jun 2010 18:43:44 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">314@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Do you mean 'real' C standard scanf (or fscanf) functionality?&#60;br /&#62;
Like this: &#60;a href=&#34;http://www.opengroup.org/onlinepubs/009695399/functions/scanf.html&#34; rel=&#34;nofollow&#34;&#62;http://www.opengroup.org/onlinepubs/009695399/functions/scanf.html&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;or would you be happy with a subset of that functionality?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>perry on "A direct challenge to the Maple A Team ... Scanf"</title>
			<link>http://forums.leaflabs.com/topic.php?id=65#post-313</link>
			<pubDate>Wed, 23 Jun 2010 18:10:22 +0000</pubDate>
			<dc:creator>perry</dc:creator>
			<guid isPermaLink="false">313@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Can do, shouldn't be too hard.&#60;/p&#62;
&#60;p&#62;Mostly the hard part is coming up with a friendly API for doing so.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>leaflabsandy on "A direct challenge to the Maple A Team ... Scanf"</title>
			<link>http://forums.leaflabs.com/topic.php?id=65#post-312</link>
			<pubDate>Wed, 23 Jun 2010 16:50:06 +0000</pubDate>
			<dc:creator>leaflabsandy</dc:creator>
			<guid isPermaLink="false">312@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;A direct challenge to the Maple A Team ... Scanf&#60;/p&#62;
&#60;p&#62;Since the Maple has many more comports than the standard Arduino&#60;br /&#62;
there is one command/function that the Arduino design team&#60;br /&#62;
refused or could not or would not implement - Scanf. This command/funtion&#60;br /&#62;
is badly needed on any microcontroller with multiple serial ports.&#60;/p&#62;
&#60;p&#62;The scanf() function reads input from stdin, according to the given format,&#60;br /&#62;
and stores the data in the other arguments. It works a lot like printf(). ...&#60;/p&#62;
&#60;p&#62;Is the Maple A Team up to this task?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
