<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Looking for small printf source code!</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/42106/looking-for-small-printf-source-code</link><description> Hi All, 
 
urgently need to find a cut version of printf, no need float point support. Only need to print out of integers in hex and decimal format. 
 
Using vprintf didn&amp;#39;t give using RAM size reduction. 
 
Thanks, 
Vladimir </description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Looking for small printf source code!</title><link>https://community.arm.com/thread/71468?ContentTypeID=1</link><pubDate>Mon, 19 May 2003 12:02:58 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:3827271b-4f87-40a3-9941-952ec77b0755</guid><dc:creator>Vladimir Grekhov</dc:creator><description>&lt;p&gt;Hi Andy,&lt;br /&gt;
&lt;br /&gt;
thank you, I thought about that too.&lt;br /&gt;
I&amp;#39;m just too lazy to do updating my projects, probably I would make it as the last resort.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Looking for small printf source code!</title><link>https://community.arm.com/thread/71470?ContentTypeID=1</link><pubDate>Mon, 19 May 2003 11:57:28 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:1faff97f-6934-4cd4-8b8a-bc9efad004cf</guid><dc:creator>Vladimir Grekhov</dc:creator><description>&lt;p&gt;Hi Drew,&lt;br /&gt;
&lt;br /&gt;
thanks for sending the link, it&amp;#39;s very interesting to read. Probably &amp;quot;printf&amp;quot;, which I use from Keil already doesn&amp;#39;t have support of &amp;quot;float&amp;quot;. It takes from my RAM 0x14 bytes, may be not so bad, but I wish to have less losses.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Looking for small printf source code!</title><link>https://community.arm.com/thread/40243?ContentTypeID=1</link><pubDate>Sat, 17 May 2003 17:30:24 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:2e8c46b6-44d2-4e28-9a75-7668b5c60744</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;i&gt;&amp;quot;Only need to print out of integers in hex and decimal format.&amp;quot;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
In that case, it&amp;#39;s probably worth just writing your own two functions: &lt;b&gt;print_hex_int()&lt;/b&gt; and &lt;b&gt;print_dec_int()&lt;/b&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Looking for small printf source code!</title><link>https://community.arm.com/thread/40248?ContentTypeID=1</link><pubDate>Fri, 16 May 2003 19:22:29 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:635845df-9f69-422e-8151-b372f80b7db3</guid><dc:creator>Drew Davis</dc:creator><description>&lt;p&gt;Graham Cole offers his stripped down printf() implementation about halfway through this thread:&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.keil.com/forum/docs/thread2741.asp"&gt;http://www.keil.com/forum/docs/thread2741.asp&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
I think Jon Ward points out in that same thread that Keil does already offer two versions of printf(), one with floating point and one without.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>