<?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 console for printf. in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Debug-console-for-printf/m-p/743713#M45313</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working with a k22 microcontroller. I wanted to use one of the UART s as a debug port.I was planning on using the debug console functionality and mapping the output to a UART to make this happen.so my PRINTF is remapped to the hash defined&amp;nbsp;&amp;nbsp;DbgConsole_Printf . I had 2 questions regarding this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) I am assuming that by using the debug console PRINTF and not actual 'printf' I can reduce the code footprint.Is this correct. are there any other adv/disadvantages to using the&amp;nbsp;&lt;SPAN&gt;DbgConsole_Printf ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2) For some strange reason when i try to print out float values using&amp;nbsp;DbgConsole_Printf , its not showing in the console..? integer and char format specifiers works just fine.Anyone has had similar problems or insights into this?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Mar 2018 20:33:51 GMT</pubDate>
    <dc:creator>sreejithmenon</dc:creator>
    <dc:date>2018-03-28T20:33:51Z</dc:date>
    <item>
      <title>Debug console for printf.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Debug-console-for-printf/m-p/743713#M45313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working with a k22 microcontroller. I wanted to use one of the UART s as a debug port.I was planning on using the debug console functionality and mapping the output to a UART to make this happen.so my PRINTF is remapped to the hash defined&amp;nbsp;&amp;nbsp;DbgConsole_Printf . I had 2 questions regarding this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) I am assuming that by using the debug console PRINTF and not actual 'printf' I can reduce the code footprint.Is this correct. are there any other adv/disadvantages to using the&amp;nbsp;&lt;SPAN&gt;DbgConsole_Printf ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2) For some strange reason when i try to print out float values using&amp;nbsp;DbgConsole_Printf , its not showing in the console..? integer and char format specifiers works just fine.Anyone has had similar problems or insights into this?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2018 20:33:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Debug-console-for-printf/m-p/743713#M45313</guid>
      <dc:creator>sreejithmenon</dc:creator>
      <dc:date>2018-03-28T20:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: Debug console for printf.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Debug-console-for-printf/m-p/743714#M45314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sreejith:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, printf() is memory consuming, so in project, we need to make sure have enough stack and heap allocated. But printf have more features than debug console.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To print floating point values, you need to enable float/double support.&lt;/P&gt;&lt;P&gt;Please check the following link for more detals:&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;A href="https://community.nxp.com/thread/447233"&gt;sprintf, PRINTF, DbgConsole_Printf with float and double&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2018 08:02:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Debug-console-for-printf/m-p/743714#M45314</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2018-03-30T08:02:57Z</dc:date>
    </item>
  </channel>
</rss>

