<?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 Unable to get printf to print floating point in MCUXpresso IDE</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/Unable-to-get-printf-to-print-floating-point/m-p/721059#M1149</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the NXP MCU Tools toolchain with Gnu Make Builder in the MCUXpresso IDE. I am able to use printf statements generally while debugging, but floating point specifiers (%f) do not print. I have enabled PRINTF_FLOAT_ENABLE=1 in the preprocessor (see below), but that makes no difference. I also have the Floating point mode set to "FPv4-SP (Hard ABI)."&amp;nbsp;How can I get a floating point number to print using printf?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26413i4729AAC301CB9905/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Mar 2018 02:02:09 GMT</pubDate>
    <dc:creator>aberger</dc:creator>
    <dc:date>2018-03-02T02:02:09Z</dc:date>
    <item>
      <title>Unable to get printf to print floating point</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Unable-to-get-printf-to-print-floating-point/m-p/721059#M1149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the NXP MCU Tools toolchain with Gnu Make Builder in the MCUXpresso IDE. I am able to use printf statements generally while debugging, but floating point specifiers (%f) do not print. I have enabled PRINTF_FLOAT_ENABLE=1 in the preprocessor (see below), but that makes no difference. I also have the Floating point mode set to "FPv4-SP (Hard ABI)."&amp;nbsp;How can I get a floating point number to print using printf?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26413i4729AAC301CB9905/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2018 02:02:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Unable-to-get-printf-to-print-floating-point/m-p/721059#M1149</guid>
      <dc:creator>aberger</dc:creator>
      <dc:date>2018-03-02T02:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get printf to print floating point</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Unable-to-get-printf-to-print-floating-point/m-p/721060#M1150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the same problem, follow the case.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2018 10:31:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Unable-to-get-printf-to-print-floating-point/m-p/721060#M1150</guid>
      <dc:creator>giampietropompo</dc:creator>
      <dc:date>2018-03-02T10:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get printf to print floating point</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Unable-to-get-printf-to-print-floating-point/m-p/721061#M1151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Remove the symbol "CR_INTEGER_PRINTF" from the preprocessor settings, then clean/rebuild.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more information, see section 13.5.1,"Redlib printf variants" in the supplied MCUXpresso IDE v10.1. User Guide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MCUXpresso IDE Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2018 17:10:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Unable-to-get-printf-to-print-floating-point/m-p/721061#M1151</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2018-03-02T17:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get printf to print floating point</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Unable-to-get-printf-to-print-floating-point/m-p/721062#M1152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For me this helped:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="float.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/71563i608CBA8FE4BC876E/image-size/large?v=v2&amp;amp;px=999" role="button" title="float.jpg" alt="float.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2019 09:17:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Unable-to-get-printf-to-print-floating-point/m-p/721062#M1152</guid>
      <dc:creator>remybringold</dc:creator>
      <dc:date>2019-01-04T09:17:15Z</dc:date>
    </item>
  </channel>
</rss>

