<?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 IDE中的主题 Re: newlib missing C library functions</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/newlib-missing-C-library-functions/m-p/869105#M3685</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gary,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the documentation on newlib that I use is the documentation included in MCUExpesso IDE (Menu Help&amp;nbsp; &amp;gt; Help contents and then in the left pane Tools &amp;gt; Newlib &amp;gt; Newlib C Library).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm afraid that you'll have to peruse the documentation of each 'C' function you plan to use and check whether it requires additional supporting subroutines, e.g. for &lt;SPAN style="font-family: 'andale mono', monospace;"&gt;&lt;STRONG&gt;time()&lt;/STRONG&gt;&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture newlib time.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/64277i75071C947DFE590C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture newlib time.PNG" alt="Capture newlib time.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding &lt;SPAN style="font-family: 'andale mono', monospace;"&gt;&lt;STRONG&gt;time()&lt;/STRONG&gt;&lt;/SPAN&gt;, also see this old discussion here:&amp;nbsp;&lt;A href="https://community.nxp.com/thread/427218"&gt;time () does nothing&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Jan 2019 10:19:47 GMT</pubDate>
    <dc:creator>danielholala</dc:creator>
    <dc:date>2019-01-31T10:19:47Z</dc:date>
    <item>
      <title>newlib missing C library functions</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/newlib-missing-C-library-functions/m-p/869104#M3684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using newlib with an imxrt1050.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SDK provides various different flavours of newlib (nano, semihost etc) for the platform I am using but it has missing standard 'C' functions such as &lt;EM&gt;time&lt;/EM&gt; and &lt;EM&gt;clock&lt;/EM&gt;. There's also a random number generator hardware on-chip and I would have expected this to have been hooked into std:random_device. There are probably lots of other examples of missing hooks that I would have expected to have been supported in this library for SOC?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe there's a list somewhere of the functions that are supported or even a document explaining how to properly get these hooks? I have actually wrapped the &lt;EM&gt;time&lt;/EM&gt; function and called the appropriate board function to read the RTC, so it is possible.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2019 16:18:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/newlib-missing-C-library-functions/m-p/869104#M3684</guid>
      <dc:creator>gary_metalle</dc:creator>
      <dc:date>2019-01-29T16:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: newlib missing C library functions</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/newlib-missing-C-library-functions/m-p/869105#M3685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gary,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the documentation on newlib that I use is the documentation included in MCUExpesso IDE (Menu Help&amp;nbsp; &amp;gt; Help contents and then in the left pane Tools &amp;gt; Newlib &amp;gt; Newlib C Library).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm afraid that you'll have to peruse the documentation of each 'C' function you plan to use and check whether it requires additional supporting subroutines, e.g. for &lt;SPAN style="font-family: 'andale mono', monospace;"&gt;&lt;STRONG&gt;time()&lt;/STRONG&gt;&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture newlib time.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/64277i75071C947DFE590C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture newlib time.PNG" alt="Capture newlib time.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding &lt;SPAN style="font-family: 'andale mono', monospace;"&gt;&lt;STRONG&gt;time()&lt;/STRONG&gt;&lt;/SPAN&gt;, also see this old discussion here:&amp;nbsp;&lt;A href="https://community.nxp.com/thread/427218"&gt;time () does nothing&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2019 10:19:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/newlib-missing-C-library-functions/m-p/869105#M3685</guid>
      <dc:creator>danielholala</dc:creator>
      <dc:date>2019-01-31T10:19:47Z</dc:date>
    </item>
  </channel>
</rss>

