<?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 Floating problem in KDS3.0.0 with KL03. in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Floating-problem-in-KDS3-0-0-with-KL03/m-p/466228#M4986</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;I am a beginner using KL03 processor &lt;SPAN style="line-height: 1.5;"&gt;trying to learn with demo codes provided with KDS3.0.0 IDE. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="line-height: 1.5;"&gt;when I am printing the float value like,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;float a=2.4;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;PRINTF("%f",a);&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;I am getting output as ' f ' only.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;How to overcome with this floating problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Dec 2015 12:13:19 GMT</pubDate>
    <dc:creator>syedidris</dc:creator>
    <dc:date>2015-12-07T12:13:19Z</dc:date>
    <item>
      <title>Floating problem in KDS3.0.0 with KL03.</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Floating-problem-in-KDS3-0-0-with-KL03/m-p/466228#M4986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;I am a beginner using KL03 processor &lt;SPAN style="line-height: 1.5;"&gt;trying to learn with demo codes provided with KDS3.0.0 IDE. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="line-height: 1.5;"&gt;when I am printing the float value like,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;float a=2.4;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;PRINTF("%f",a);&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;I am getting output as ' f ' only.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;How to overcome with this floating problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Dec 2015 12:13:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Floating-problem-in-KDS3-0-0-with-KL03/m-p/466228#M4986</guid>
      <dc:creator>syedidris</dc:creator>
      <dc:date>2015-12-07T12:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: Floating problem in KDS3.0.0 with KL03.</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Floating-problem-in-KDS3-0-0-with-KL03/m-p/466229#M4987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;The support of float numbers in printf can be enabled by using linker options. For example, when you create a new Kinetis Project in KDS 3.0.0 (with KSDK 1.3.0 and Processor Expert) you can find the option in the Properties of the project, see the following screenshot:&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/58950i7A4D4EDEFED7A6B2/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;Please note that when this options is enabled the target code (memory footprint) is significantly increased.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Marek Neuzil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2015 15:18:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Floating-problem-in-KDS3-0-0-with-KL03/m-p/466229#M4987</guid>
      <dc:creator>marek_neuzil</dc:creator>
      <dc:date>2015-12-09T15:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: Floating problem in KDS3.0.0 with KL03.</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Floating-problem-in-KDS3-0-0-with-KL03/m-p/466230#M4988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marek,&lt;/P&gt;&lt;P&gt;Thanks for your reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not using processor expert, I am just editing in the Hello_world demo example with this float print.&lt;/P&gt;&lt;P&gt;I tried as per your suggestion, but I am not getting "Cross ARM C++ linker" option, I did in "Cross ARM C linker" but problem is not solved, &lt;span class="lia-inline-image-display-wrapper" image-alt="Capture.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/21913iDE32B8F62B1F570C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;can you please do something.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2015 11:45:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Floating-problem-in-KDS3-0-0-with-KL03/m-p/466230#M4988</guid>
      <dc:creator>syedidris</dc:creator>
      <dc:date>2015-12-10T11:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Floating problem in KDS3.0.0 with KL03.</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Floating-problem-in-KDS3-0-0-with-KL03/m-p/466231#M4989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please refer this article for how to use printf to print floating value in KDS3.0&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2015/05/27/semihosting-for-kinetis-design-studio-v3-0-0-and-gnu-arm-embedded-launchpad/" title="http://mcuoneclipse.com/2015/05/27/semihosting-for-kinetis-design-studio-v3-0-0-and-gnu-arm-embedded-launchpad/"&gt;Semihosting for Kinetis Design Studio V3.0.0 and GNU ARM Embedded (launchpad) | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also made a demo code on this related. see attached video, 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>Fri, 11 Dec 2015 07:47:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Floating-problem-in-KDS3-0-0-with-KL03/m-p/466231#M4989</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2015-12-11T07:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: Floating problem in KDS3.0.0 with KL03.</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Floating-problem-in-KDS3-0-0-with-KL03/m-p/466232#M4990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt; I am not getting "Cross ARM C++ linker" option.:smileyconfused:&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2015 12:38:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Floating-problem-in-KDS3-0-0-with-KL03/m-p/466232#M4990</guid>
      <dc:creator>syedidris</dc:creator>
      <dc:date>2015-12-11T12:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Floating problem in KDS3.0.0 with KL03.</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Floating-problem-in-KDS3-0-0-with-KL03/m-p/466233#M4991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are you sure you use KDS3.0?&lt;/P&gt;&lt;P&gt;please send me:&lt;/P&gt;&lt;P&gt;1. your KDS build ID.&lt;/P&gt;&lt;P&gt;2. your demo project&lt;/P&gt;&lt;P&gt;3. your KDS properties' screenshot.&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;/P&gt;&lt;P&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>Mon, 14 Dec 2015 02:51:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Floating-problem-in-KDS3-0-0-with-KL03/m-p/466233#M4991</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2015-12-14T02:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Floating problem in KDS3.0.0 with KL03.</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Floating-problem-in-KDS3-0-0-with-KL03/m-p/466234#M4992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I am using KDS 3.0.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In sample code of Hello_world example I just commented the statement &lt;/P&gt;&lt;P&gt;PRINTF("\r\nHello World!\n");&lt;/P&gt;&lt;P&gt;and replaced with statement&lt;/P&gt;&lt;P&gt;PRINTF("%f",1.23);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attaching my project file and also screenshot of my KDS properties.&lt;span class="lia-inline-image-display-wrapper" image-alt="screenshot.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/25969i1B0582F7CBC1CDB8/image-size/large?v=v2&amp;amp;px=999" role="button" title="screenshot.PNG" alt="screenshot.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2015 10:26:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Floating-problem-in-KDS3-0-0-with-KL03/m-p/466234#M4992</guid>
      <dc:creator>syedidris</dc:creator>
      <dc:date>2015-12-14T10:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: Floating problem in KDS3.0.0 with KL03.</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Floating-problem-in-KDS3-0-0-with-KL03/m-p/466235#M4993</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;Please review following post: &lt;A href="https://community.nxp.com/message/596980"&gt;Re: Floating Point on KDS&lt;/A&gt; &lt;/P&gt;&lt;P&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>Mon, 14 Dec 2015 22:08:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Floating-problem-in-KDS3-0-0-with-KL03/m-p/466235#M4993</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2015-12-14T22:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: Floating problem in KDS3.0.0 with KL03.</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Floating-problem-in-KDS3-0-0-with-KL03/m-p/466236#M4994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;As a beginner I am just trying to understand the basic examples provided with the KDS 3.0.0 (with KL03 processor). &lt;/P&gt;&lt;P&gt;I was going through the&amp;nbsp; "adc_lptmr_trigger" code. I just tried float value printing in this program but it is not printing, I followed the steps given by &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/DavidS"&gt;DavidS&lt;/A&gt; it was working good in hello_world example but not working here.&lt;/P&gt;&lt;P&gt;1. what should I do to get float value result?&lt;/P&gt;&lt;P&gt;2. Is there any way by which I can print float value in any code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 10:16:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Floating-problem-in-KDS3-0-0-with-KL03/m-p/466236#M4994</guid>
      <dc:creator>syedidris</dc:creator>
      <dc:date>2015-12-23T10:16:24Z</dc:date>
    </item>
  </channel>
</rss>

