<?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>topic debug_printf not printing floating point numbers in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/debug-printf-not-printing-floating-point-numbers/m-p/426433#M3530</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In bare-metal KDS3 + KSDK1.2 project using debug_printf, all the remedial steps described in previous posts were tried but none of these fixed the issue.&lt;BR /&gt;Finally got float numbers to print correctly by uncommenting the &lt;STRONG&gt;#define PRINTF_FLOAT_ENABLE&amp;nbsp;&amp;nbsp; 1&lt;/STRONG&gt; in the &lt;STRONG&gt;print_scan.h&lt;/STRONG&gt; file under the &lt;STRONG&gt;SDK\platform\utilities\src&lt;/STRONG&gt; folder! &lt;/P&gt;&lt;P&gt;- What is the correct method (ie.from KDS IDE settings) to get this to work?&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Jun 2015 23:47:49 GMT</pubDate>
    <dc:creator>peter_fenn</dc:creator>
    <dc:date>2015-06-03T23:47:49Z</dc:date>
    <item>
      <title>debug_printf not printing floating point numbers</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/debug-printf-not-printing-floating-point-numbers/m-p/426433#M3530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In bare-metal KDS3 + KSDK1.2 project using debug_printf, all the remedial steps described in previous posts were tried but none of these fixed the issue.&lt;BR /&gt;Finally got float numbers to print correctly by uncommenting the &lt;STRONG&gt;#define PRINTF_FLOAT_ENABLE&amp;nbsp;&amp;nbsp; 1&lt;/STRONG&gt; in the &lt;STRONG&gt;print_scan.h&lt;/STRONG&gt; file under the &lt;STRONG&gt;SDK\platform\utilities\src&lt;/STRONG&gt; folder! &lt;/P&gt;&lt;P&gt;- What is the correct method (ie.from KDS IDE settings) to get this to work?&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 23:47:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/debug-printf-not-printing-floating-point-numbers/m-p/426433#M3530</guid>
      <dc:creator>peter_fenn</dc:creator>
      <dc:date>2015-06-03T23:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: debug_printf not printing floating point numbers</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/debug-printf-not-printing-floating-point-numbers/m-p/426434#M3531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;Check this post that towards the bottom shows how to add in #define in the Properties of the project.&lt;/P&gt;&lt;P&gt;If you try it let us know if this is successful or not.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/342693"&gt;printf() with float values&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 16:42:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/debug-printf-not-printing-floating-point-numbers/m-p/426434#M3531</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2015-06-04T16:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: debug_printf not printing floating point numbers</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/debug-printf-not-printing-floating-point-numbers/m-p/426435#M3532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;True. Other methods do not work to me and only Peter's method does. KDS3.0+KSDK1.3, MQX light.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jan 2016 11:24:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/debug-printf-not-printing-floating-point-numbers/m-p/426435#M3532</guid>
      <dc:creator>FeibiaoZhou</dc:creator>
      <dc:date>2016-01-26T11:24:27Z</dc:date>
    </item>
  </channel>
</rss>

