<?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>MCUXpresso SDKのトピックPRINTF  (DbgConsole_Printf) doesn't work for negative float</title>
    <link>https://community.nxp.com/t5/MCUXpresso-SDK/PRINTF-DbgConsole-Printf-doesn-t-work-for-negative-float/m-p/2303138#M5435</link>
    <description>&lt;P&gt;Using MCUXpresso&amp;nbsp;&lt;BR /&gt;Product: MCUXpresso IDE&lt;BR /&gt;Version: MCUXpresso IDE v24.12 [Build 148] [2025-01-10]&lt;BR /&gt;Operating system: Windows 11&lt;BR /&gt;VM: OpenJDK 64-Bit Server VM (64 bit)&lt;BR /&gt;&lt;BR /&gt;The PRINTF macro that resolves to&amp;nbsp;DbgConsole_Printf is supposed to provide small, lightweight print to terminal features. But it does not print negative float values correctly. This is apparently a known issue but it took me 2 solid days of fooling around with my code trying to figure out why my values had the wrong sign.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The solution proposed in&amp;nbsp;&lt;A href="https://community.nxp.com/t5/MCUXpresso-SDK/Printing-negative-floats-with-DbgConsole-Printf-in-mcuxpresso/m-p/1795964#M4587" target="_blank"&gt;https://community.nxp.com/t5/MCUXpresso-SDK/Printing-negative-floats-with-DbgConsole-Printf-in-mcuxpresso/m-p/1795964#M4587&lt;/A&gt;&lt;BR /&gt;is not really adequate since stdio brings in all kinds of other libraries and expands the amount of flash memory required. That is the whole reason that the SDK even provides a lightweight print function.&lt;BR /&gt;&lt;BR /&gt;So it is really NOT a good solution, and the issue should remain open. How is it that this bug still exists in the SDK after TWO entire years? This is a ridiculously straightforward problem to solve. Please fix the SDK and stop wasting your developers' valuable time.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Jan 2026 16:00:14 GMT</pubDate>
    <dc:creator>blmckinley</dc:creator>
    <dc:date>2026-01-29T16:00:14Z</dc:date>
    <item>
      <title>PRINTF  (DbgConsole_Printf) doesn't work for negative float</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/PRINTF-DbgConsole-Printf-doesn-t-work-for-negative-float/m-p/2303138#M5435</link>
      <description>&lt;P&gt;Using MCUXpresso&amp;nbsp;&lt;BR /&gt;Product: MCUXpresso IDE&lt;BR /&gt;Version: MCUXpresso IDE v24.12 [Build 148] [2025-01-10]&lt;BR /&gt;Operating system: Windows 11&lt;BR /&gt;VM: OpenJDK 64-Bit Server VM (64 bit)&lt;BR /&gt;&lt;BR /&gt;The PRINTF macro that resolves to&amp;nbsp;DbgConsole_Printf is supposed to provide small, lightweight print to terminal features. But it does not print negative float values correctly. This is apparently a known issue but it took me 2 solid days of fooling around with my code trying to figure out why my values had the wrong sign.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The solution proposed in&amp;nbsp;&lt;A href="https://community.nxp.com/t5/MCUXpresso-SDK/Printing-negative-floats-with-DbgConsole-Printf-in-mcuxpresso/m-p/1795964#M4587" target="_blank"&gt;https://community.nxp.com/t5/MCUXpresso-SDK/Printing-negative-floats-with-DbgConsole-Printf-in-mcuxpresso/m-p/1795964#M4587&lt;/A&gt;&lt;BR /&gt;is not really adequate since stdio brings in all kinds of other libraries and expands the amount of flash memory required. That is the whole reason that the SDK even provides a lightweight print function.&lt;BR /&gt;&lt;BR /&gt;So it is really NOT a good solution, and the issue should remain open. How is it that this bug still exists in the SDK after TWO entire years? This is a ridiculously straightforward problem to solve. Please fix the SDK and stop wasting your developers' valuable time.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jan 2026 16:00:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/PRINTF-DbgConsole-Printf-doesn-t-work-for-negative-float/m-p/2303138#M5435</guid>
      <dc:creator>blmckinley</dc:creator>
      <dc:date>2026-01-29T16:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: PRINTF  (DbgConsole_Printf) doesn't work for negative float</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/PRINTF-DbgConsole-Printf-doesn-t-work-for-negative-float/m-p/2333210#M5449</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232320"&gt;@blmckinley&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;/P&gt;
&lt;P&gt;I suggest you can refer to this NXP&amp;nbsp;&lt;SPAN&gt;community post:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/MCUXpresso-SDK/Printing-negative-floats-with-DbgConsole-Printf-in-mcuxpresso/td-p/1795380" target="_blank"&gt;Solved: Printing negative floats with DbgConsole_Printf in mcuxpresso SDK 2.15 - NXP Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Please try it.&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;MayLiu&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2026 04:07:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/PRINTF-DbgConsole-Printf-doesn-t-work-for-negative-float/m-p/2333210#M5449</guid>
      <dc:creator>mayliu1</dc:creator>
      <dc:date>2026-03-16T04:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: PRINTF  (DbgConsole_Printf) doesn't work for negative float</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/PRINTF-DbgConsole-Printf-doesn-t-work-for-negative-float/m-p/2334110#M5455</link>
      <description>Thank you for the reply. As I mention in my post, although the printf() function does work for negative numbers, that is not a solution for a bug in the SDK function DbgConsole_Printf().&lt;BR /&gt;&lt;BR /&gt;Your users deserve bug-free SDKs and I highly recommend you fix the bug as outlined.</description>
      <pubDate>Tue, 17 Mar 2026 13:28:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/PRINTF-DbgConsole-Printf-doesn-t-work-for-negative-float/m-p/2334110#M5455</guid>
      <dc:creator>blmckinley</dc:creator>
      <dc:date>2026-03-17T13:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: PRINTF  (DbgConsole_Printf) doesn't work for negative float</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/PRINTF-DbgConsole-Printf-doesn-t-work-for-negative-float/m-p/2342004#M5462</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232320"&gt;@blmckinley&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for your feedback, I have already created an internal ticket for your question.&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;May Liu&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2026 06:36:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/PRINTF-DbgConsole-Printf-doesn-t-work-for-negative-float/m-p/2342004#M5462</guid>
      <dc:creator>mayliu1</dc:creator>
      <dc:date>2026-03-30T06:36:58Z</dc:date>
    </item>
  </channel>
</rss>

