<?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 Re: #include &amp;lt;inttypes.h&amp;gt; not found in MCUXpresso IDE</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/include-lt-inttypes-h-gt-not-found/m-p/926718#M4208</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;a better and more portable way is to use&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="property macro token"&gt;#include &lt;SPAN class="string token"&gt;&amp;lt;stdint.h&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Oct 2019 05:25:03 GMT</pubDate>
    <dc:creator>ErichStyger</dc:creator>
    <dc:date>2019-10-17T05:25:03Z</dc:date>
    <item>
      <title>#include &lt;inttypes.h&gt; not found</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/include-lt-inttypes-h-gt-not-found/m-p/926715#M4205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a project that uses some middle-ware code with&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;#include &amp;lt;inttypes.h&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which &lt;SPAN style="text-decoration: underline;"&gt;doesn't build with MCUXpresso&lt;/SPAN&gt; since this header is not found. Previously with KDS there was no problem.&lt;/P&gt;&lt;P&gt;Also, I can build the project from a make file with the same compiler as used by MCUXpresso.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the same file there are other such headers, such as &lt;BR /&gt;&lt;STRONG&gt;#include &amp;lt;string.h&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;which cause no problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In fact, when I search for &lt;STRONG&gt;inttypes.h&lt;/STRONG&gt; on the PC I find it in the same folder as string.h.&lt;BR /&gt;&lt;STRONG&gt;"MCUXpressoIDE_10.2.1_795\ide\tools\arm-none-eabi\include"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can one header be found but the other not? Are specific include paths needed, and where are they located in MCUXpresso?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2019 10:48:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/include-lt-inttypes-h-gt-not-found/m-p/926715#M4205</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2019-10-16T10:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: #include &lt;inttypes.h&gt; not found</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/include-lt-inttypes-h-gt-not-found/m-p/926716#M4206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;It seems to me that you are using RedLib?&lt;/P&gt;&lt;P&gt;In that library the inttypes are not supported as it is a reduced set of library functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead, use the newlib or newlib nano:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/91602i6F2C8B99E3480118/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2019 18:08:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/include-lt-inttypes-h-gt-not-found/m-p/926716#M4206</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2019-10-16T18:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: #include &lt;inttypes.h&gt; not found</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/include-lt-inttypes-h-gt-not-found/m-p/926717#M4207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eric&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I have always used REDLIB setting although I don't think that I really use anything from it.&lt;/P&gt;&lt;P&gt;In fact the only thing needed was a typedef for uint_32t so I changed to NewlibNano (none) and now it finds the header.&lt;/P&gt;&lt;P&gt;The binary generated is identical in both cases so I'll stick with NewlibNano (none) for the moment so that this header is not missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks since I would have had no idea what could have led to this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I build from a make file (the usual method since opening MCUXpresso to build is excruciatingly slow) I don't specify any particular library so it must be using a default one. It's binary is in fact a few bytes larger in size but this may also be due to it linking files in a different sequence any leaving some holes when aligning (or similar).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2019 21:18:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/include-lt-inttypes-h-gt-not-found/m-p/926717#M4207</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2019-10-16T21:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: #include &lt;inttypes.h&gt; not found</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/include-lt-inttypes-h-gt-not-found/m-p/926718#M4208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;a better and more portable way is to use&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="property macro token"&gt;#include &lt;SPAN class="string token"&gt;&amp;lt;stdint.h&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2019 05:25:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/include-lt-inttypes-h-gt-not-found/m-p/926718#M4208</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2019-10-17T05:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: #include &lt;inttypes.h&gt; not found</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/include-lt-inttypes-h-gt-not-found/m-p/926719#M4209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eric&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The include is in some standard mbed TLS code so I don't want to change things there otherwise it will be overwritten when updating libraries in the future (and the fix will need to be made again - but no one will remember what was done anymore this post was found again....;-). Library change is probably more future-proof.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2019 10:40:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/include-lt-inttypes-h-gt-not-found/m-p/926719#M4209</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2019-10-17T10:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: #include &lt;inttypes.h&gt; not found</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/include-lt-inttypes-h-gt-not-found/m-p/926720#M4210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know this is a bit old, but including &amp;lt;stdint.h&amp;gt; doesn't get the macros in inttypes.h (or doesn't seem to). &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2020 15:28:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/include-lt-inttypes-h-gt-not-found/m-p/926720#M4210</guid>
      <dc:creator>JBM</dc:creator>
      <dc:date>2020-05-06T15:28:47Z</dc:date>
    </item>
  </channel>
</rss>

