<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Classic/Legacy CodeWarriorのトピックRe: Simple Printf on CF question</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Simple-Printf-on-CF-question/m-p/127186#M244</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;It works for me.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;Which version of Codefire tools are you using (V6.2, ...)?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;Did you include the file stdio.h at the beginning of the source file?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;Which runtime libraries are you linking to your application?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;For which CPU are you generating code (MCF5282, ...)?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Feb 2006 19:29:21 GMT</pubDate>
    <dc:creator>CrasyCat</dc:creator>
    <dc:date>2006-02-28T19:29:21Z</dc:date>
    <item>
      <title>Simple Printf on CF question</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Simple-Printf-on-CF-question/m-p/127185#M243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN style="color: navy; font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;I'm trying to do a simple print of a floating point number out of a UART, and cannot figure out&amp;nbsp;why I can’t seem to use a printf statement to display floating point values? For example&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: navy; font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;printf("\ntest printf with float = %5.2f", 1.23456);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: navy; font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;results in just the letter “f” printed from hyperterminal: test printf with float = f.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: navy; font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;Is there something I need to do because I am not on a floating point machine to enable printf to print floats?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: navy; font-family: Arial; font-size: 2;"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2006 05:56:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Simple-Printf-on-CF-question/m-p/127185#M243</guid>
      <dc:creator>dvona</dc:creator>
      <dc:date>2006-02-24T05:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Printf on CF question</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Simple-Printf-on-CF-question/m-p/127186#M244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;It works for me.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;Which version of Codefire tools are you using (V6.2, ...)?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;Did you include the file stdio.h at the beginning of the source file?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;Which runtime libraries are you linking to your application?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;For which CPU are you generating code (MCF5282, ...)?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2006 19:29:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Simple-Printf-on-CF-question/m-p/127186#M244</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2006-02-28T19:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Printf on CF question</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Simple-Printf-on-CF-question/m-p/127187#M245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Make sure your project is not using a simpler version of printf (printD and/or printk).&amp;nbsp; One of the projects I have&amp;nbsp;imported in the past (dbug for CF) uses printD which calls printk (which has no floating point support) with a #define printf printD.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Apr 2006 05:02:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Simple-Printf-on-CF-question/m-p/127187#M245</guid>
      <dc:creator>nanoGeek</dc:creator>
      <dc:date>2006-04-21T05:02:05Z</dc:date>
    </item>
  </channel>
</rss>

