<?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 float printing error in PE in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/float-printing-error-in-PE/m-p/508415#M6554</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;We are working on KL03 processor (with KDS 3.0.0). We learnt how to make processor expert code and just trying to make simple hello_world printing code. Its working fine but float value is not printing so we change the properties of code as per screenshot, then it is showing some errors,&lt;/P&gt;&lt;P&gt;Our project code is as per the attachment. &lt;/P&gt;&lt;P&gt;Please guide how to print float value in PE code.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-339168"&gt;print.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Dec 2015 10:34:21 GMT</pubDate>
    <dc:creator>syedidris</dc:creator>
    <dc:date>2015-12-28T10:34:21Z</dc:date>
    <item>
      <title>float printing error in PE</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/float-printing-error-in-PE/m-p/508415#M6554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;We are working on KL03 processor (with KDS 3.0.0). We learnt how to make processor expert code and just trying to make simple hello_world printing code. Its working fine but float value is not printing so we change the properties of code as per screenshot, then it is showing some errors,&lt;/P&gt;&lt;P&gt;Our project code is as per the attachment. &lt;/P&gt;&lt;P&gt;Please guide how to print float value in PE code.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-339168"&gt;print.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Dec 2015 10:34:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/float-printing-error-in-PE/m-p/508415#M6554</guid>
      <dc:creator>syedidris</dc:creator>
      <dc:date>2015-12-28T10:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: float printing error in PE</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/float-printing-error-in-PE/m-p/508416#M6555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello syed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To use &lt;CODE&gt;printf()&lt;/CODE&gt; with floating point, the option "-u _printf_float" needs to be added to the linker options,&lt;/P&gt;&lt;P&gt;about the detail information please refer to here :&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2014/07/11/printf-and-scanf-with-gnu-arm-libraries/" title="http://mcuoneclipse.com/2014/07/11/printf-and-scanf-with-gnu-arm-libraries/"&gt;printf() and scanf() with GNU ARM Libraries | MCU on Eclipse&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Dec 2015 02:22:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/float-printing-error-in-PE/m-p/508416#M6555</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2015-12-29T02:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: float printing error in PE</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/float-printing-error-in-PE/m-p/508417#M6556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;"-u _printf_float" in properties of our project, but it's not working as you can see in my project code.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Dec 2015 05:40:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/float-printing-error-in-PE/m-p/508417#M6556</guid>
      <dc:creator>syedidris</dc:creator>
      <dc:date>2015-12-29T05:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: float printing error in PE</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/float-printing-error-in-PE/m-p/508418#M6557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ever made video of how to how to use printf to print floating value in KDS3.0&lt;/P&gt;&lt;P&gt;see attached.&lt;/P&gt;&lt;P&gt;can this help you?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jennie Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2016 07:13:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/float-printing-error-in-PE/m-p/508418#M6557</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2016-01-05T07:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: float printing error in PE</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/float-printing-error-in-PE/m-p/508419#M6558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Zhang,&lt;/P&gt;&lt;P&gt;we tried your method but still It's giving the error.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="float error.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/38268i1E2EA528BF175F4C/image-size/large?v=v2&amp;amp;px=999" role="button" title="float error.PNG" alt="float error.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="float error2.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/38608i9F1B13649C3CCD76/image-size/large?v=v2&amp;amp;px=999" role="button" title="float error2.PNG" alt="float error2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 05:09:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/float-printing-error-in-PE/m-p/508419#M6558</guid>
      <dc:creator>syedidris</dc:creator>
      <dc:date>2016-01-06T05:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: float printing error in PE</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/float-printing-error-in-PE/m-p/508420#M6559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/DavidS"&gt;DavidS&lt;/A&gt;​ plz, can you suggest any solution?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 04:59:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/float-printing-error-in-PE/m-p/508420#M6559</guid>
      <dc:creator>syedidris</dc:creator>
      <dc:date>2016-01-07T04:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: float printing error in PE</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/float-printing-error-in-PE/m-p/508421#M6560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Syed,&lt;/P&gt;&lt;P&gt;Something was not right with your project and I couldn't easily get it working and am short on time.&lt;/P&gt;&lt;P&gt;Attached is my FRDM-KL03 KDS_3.0+KSDK_1.3+PE and setup to do floating point.&lt;/P&gt;&lt;P&gt;Please review the project Properties and code to how I have it working.&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, 07 Jan 2016 21:17:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/float-printing-error-in-PE/m-p/508421#M6560</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2016-01-07T21:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: float printing error in PE</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/float-printing-error-in-PE/m-p/508422#M6561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;David's demo is great. just for supplement, with PE+KSDK, to print floating number,&amp;nbsp; make sure to have floating enabled in preprocessor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/52872iA6B6C45AB175A788/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jennie Zhang&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2016 06:58:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/float-printing-error-in-PE/m-p/508422#M6561</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2016-01-08T06:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: float printing error in PE</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/float-printing-error-in-PE/m-p/508423#M6562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/DavidS"&gt;DavidS&lt;/A&gt;​ and &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/ZhangJennie"&gt;ZhangJennie&lt;/A&gt;​&lt;/P&gt;&lt;P&gt;Now its working,:smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 06:00:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/float-printing-error-in-PE/m-p/508423#M6562</guid>
      <dc:creator>syedidris</dc:creator>
      <dc:date>2016-01-11T06:00:31Z</dc:date>
    </item>
  </channel>
</rss>

