<?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: Compiling Error when including &amp;quot;time.h&amp;quot;, MQX4.1, gcc in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Compiling-Error-when-including-quot-time-h-quot-MQX4-1-gcc/m-p/304661#M9785</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Arial','sans-serif';"&gt;Unfortunately the time functions are not implemented&amp;nbsp; - This header file (time.h) is provided for compatibility only, the implementation is fully hardware dependent.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Arial','sans-serif';"&gt;"The ANSI library provides several functions to get the current time. In an embedded systems environment, implementations for these functions cannot be provided because different targets may use different ways to count the time."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Arial','sans-serif'; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA;"&gt;If you need it, you have to write your own functions (if you have some Real Time Clock component on your board).&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 04 May 2014 02:14:12 GMT</pubDate>
    <dc:creator>danielchen</dc:creator>
    <dc:date>2014-05-04T02:14:12Z</dc:date>
    <item>
      <title>Compiling Error when including "time.h", MQX4.1, gcc</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Compiling-Error-when-including-quot-time-h-quot-MQX4-1-gcc/m-p/304660#M9784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a MQX project based on TWR-K60D100 GCC, and included "time.h" in. but there were some compiling errors . could you give me some hints about that. below is the screenshot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/44245iB03D2FA53AA47375/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Apr 2014 16:21:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Compiling-Error-when-including-quot-time-h-quot-MQX4-1-gcc/m-p/304660#M9784</guid>
      <dc:creator>weapon</dc:creator>
      <dc:date>2014-04-26T16:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling Error when including "time.h", MQX4.1, gcc</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Compiling-Error-when-including-quot-time-h-quot-MQX4-1-gcc/m-p/304661#M9785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Arial','sans-serif';"&gt;Unfortunately the time functions are not implemented&amp;nbsp; - This header file (time.h) is provided for compatibility only, the implementation is fully hardware dependent.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Arial','sans-serif';"&gt;"The ANSI library provides several functions to get the current time. In an embedded systems environment, implementations for these functions cannot be provided because different targets may use different ways to count the time."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Arial','sans-serif'; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA;"&gt;If you need it, you have to write your own functions (if you have some Real Time Clock component on your board).&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 May 2014 02:14:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Compiling-Error-when-including-quot-time-h-quot-MQX4-1-gcc/m-p/304661#M9785</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2014-05-04T02:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling Error when including "time.h", MQX4.1, gcc</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Compiling-Error-when-including-quot-time-h-quot-MQX4-1-gcc/m-p/304662#M9786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Weiping,&lt;/P&gt;&lt;P&gt;I have some example code attached in zip to show how to setup the MQX time manually or to use an automated process that gets the time from a NTP (network time protocol) server or if that fails then to use the MQX RTOS compiled time/date to at least get a course time/date setting.&lt;/P&gt;&lt;P&gt;I had created a shell command "sh_oneshot.c" that goes in the following path:&lt;/P&gt;&lt;P&gt;C:\Freescale\Freescale_MQX_4_X\shell\source\rtcs&lt;/P&gt;&lt;P&gt;Hope this help you or others.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 17:32:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Compiling-Error-when-including-quot-time-h-quot-MQX4-1-gcc/m-p/304662#M9786</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2014-07-29T17:32:51Z</dc:date>
    </item>
  </channel>
</rss>

