<?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 ucos ii printf float variable abort scheduling in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/ucos-ii-printf-float-variable-abort-scheduling/m-p/656204#M40091</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;when I printf a float variable by calling PRINTF function in the freescale library,the ucos ii kernel stop scheduling,I don't kown why,the attachment is the source code ,please help me find the problem,thank you all!&lt;/P&gt;&lt;P&gt;IDE:Keil MDK V5.16&lt;/P&gt;&lt;P&gt;MCU:MK24FN1M0VDC12&lt;/P&gt;&lt;P&gt;Debug_console:UART3&lt;/P&gt;&lt;P&gt;Result :as below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="169392_169392.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122495iC2089C1E5D84C7F6/image-size/large?v=v2&amp;amp;px=999" role="button" title="169392_169392.jpg" alt="169392_169392.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1234.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/8694i8AA458073B421A28/image-size/large?v=v2&amp;amp;px=999" role="button" title="1234.jpg" alt="1234.jpg" /&gt;&lt;/span&gt;&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-337561"&gt;ucos_t1.rar&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Nov 2016 01:40:35 GMT</pubDate>
    <dc:creator>jessegreen</dc:creator>
    <dc:date>2016-11-14T01:40:35Z</dc:date>
    <item>
      <title>ucos ii printf float variable abort scheduling</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/ucos-ii-printf-float-variable-abort-scheduling/m-p/656204#M40091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;when I printf a float variable by calling PRINTF function in the freescale library,the ucos ii kernel stop scheduling,I don't kown why,the attachment is the source code ,please help me find the problem,thank you all!&lt;/P&gt;&lt;P&gt;IDE:Keil MDK V5.16&lt;/P&gt;&lt;P&gt;MCU:MK24FN1M0VDC12&lt;/P&gt;&lt;P&gt;Debug_console:UART3&lt;/P&gt;&lt;P&gt;Result :as below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="169392_169392.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122495iC2089C1E5D84C7F6/image-size/large?v=v2&amp;amp;px=999" role="button" title="169392_169392.jpg" alt="169392_169392.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1234.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/8694i8AA458073B421A28/image-size/large?v=v2&amp;amp;px=999" role="button" title="1234.jpg" alt="1234.jpg" /&gt;&lt;/span&gt;&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-337561"&gt;ucos_t1.rar&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2016 01:40:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/ucos-ii-printf-float-variable-abort-scheduling/m-p/656204#M40091</guid>
      <dc:creator>jessegreen</dc:creator>
      <dc:date>2016-11-14T01:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: ucos ii printf float variable abort scheduling</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/ucos-ii-printf-float-variable-abort-scheduling/m-p/656205#M40092</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;When building the demo with GCC, ensure that the demo and platform library are built with this option: &lt;CODE&gt; &lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;&amp;lt;code&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;br&amp;gt;CHOOSE_FLOAT=HARD_FP &amp;lt;br&amp;gt;&lt;BR /&gt; &amp;lt;/code&amp;gt;&lt;BR /&gt; &lt;/CODE&gt; Otherwise, the project does not use the Kinetis device’s hardware floating point when using the CMSIS-- DSP library.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition please check the below threads.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/342693"&gt;printf() with float values&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.keil.com/support/docs/2191.htm" title="http://www.keil.com/support/docs/2191.htm"&gt;GENERAL: PRECISION OF PRINTF %F FORMAT STRING&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Sol &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>Wed, 23 Nov 2016 23:56:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/ucos-ii-printf-float-variable-abort-scheduling/m-p/656205#M40092</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2016-11-23T23:56:46Z</dc:date>
    </item>
  </channel>
</rss>

