<?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 Linker and BSP problem in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Linker-and-BSP-problem/m-p/197589#M7345</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MCF54418, CW 3.8, CW 10.2&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having a problem where code warrior is saying that functions from the BSP are undefined, though it compiles fine. This is only happening with the real time clock module in particular. What I am really lost on is that it is able to build the sample RTC project provided by freescale, but is unable to build in my own project, the error output and calling code are below&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;P&gt;C:/Freescale/CW MCU v10.2/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error&lt;/P&gt;&lt;P&gt;&amp;gt;Undefined : "_rtc_init(unsigned long)"&lt;/P&gt;&lt;P&gt;&amp;gt;Referenced from "initRTC()" in &lt;/P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;P&gt;C:/Freescale/CW MCU v10.2/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error&lt;/P&gt;&lt;P&gt;&amp;gt;Undefined : "_rtc_int_enable(unsigned long,unsigned long)"&lt;/P&gt;&lt;P&gt;&amp;gt;Referenced from "initRTC()" in&lt;/P&gt; &lt;/BLOCKQUOTE&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE class="c++" name="code"&gt;int initRTC() { &amp;nbsp; int temp = _rtc_init(RTC_INIT_FLAG_ENABLE); &amp;nbsp; //install our interrupt &amp;nbsp; install_interrupt(); &amp;nbsp; _rtc_int_enable (TRUE, RTC_INT_MIN_MASK); &amp;nbsp; return temp; }&amp;nbsp;&amp;nbsp; &lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Added error for other part Message was edited by: Kevin Davis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Dec 2012 20:58:59 GMT</pubDate>
    <dc:creator>kdavis</dc:creator>
    <dc:date>2012-12-04T20:58:59Z</dc:date>
    <item>
      <title>Linker and BSP problem</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Linker-and-BSP-problem/m-p/197589#M7345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MCF54418, CW 3.8, CW 10.2&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having a problem where code warrior is saying that functions from the BSP are undefined, though it compiles fine. This is only happening with the real time clock module in particular. What I am really lost on is that it is able to build the sample RTC project provided by freescale, but is unable to build in my own project, the error output and calling code are below&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;P&gt;C:/Freescale/CW MCU v10.2/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error&lt;/P&gt;&lt;P&gt;&amp;gt;Undefined : "_rtc_init(unsigned long)"&lt;/P&gt;&lt;P&gt;&amp;gt;Referenced from "initRTC()" in &lt;/P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;P&gt;C:/Freescale/CW MCU v10.2/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error&lt;/P&gt;&lt;P&gt;&amp;gt;Undefined : "_rtc_int_enable(unsigned long,unsigned long)"&lt;/P&gt;&lt;P&gt;&amp;gt;Referenced from "initRTC()" in&lt;/P&gt; &lt;/BLOCKQUOTE&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE class="c++" name="code"&gt;int initRTC() { &amp;nbsp; int temp = _rtc_init(RTC_INIT_FLAG_ENABLE); &amp;nbsp; //install our interrupt &amp;nbsp; install_interrupt(); &amp;nbsp; _rtc_int_enable (TRUE, RTC_INT_MIN_MASK); &amp;nbsp; return temp; }&amp;nbsp;&amp;nbsp; &lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Added error for other part Message was edited by: Kevin Davis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2012 20:58:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Linker-and-BSP-problem/m-p/197589#M7345</guid>
      <dc:creator>kdavis</dc:creator>
      <dc:date>2012-12-04T20:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: Linker and BSP problem</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Linker-and-BSP-problem/m-p/197590#M7346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you linking with the same libraries as the sample project provided by Freescale?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 09:35:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Linker-and-BSP-problem/m-p/197590#M7346</guid>
      <dc:creator>dataScout</dc:creator>
      <dc:date>2013-03-08T09:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: Linker and BSP problem</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Linker-and-BSP-problem/m-p/197591#M7347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kevin,&lt;/P&gt;&lt;P&gt;How is the project going? was this suggestion helpful or did you find any other resolution?&lt;/P&gt;&lt;P&gt;We'd like to know :smileywink:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2013 22:30:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Linker-and-BSP-problem/m-p/197591#M7347</guid>
      <dc:creator>Monica</dc:creator>
      <dc:date>2013-03-20T22:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: Linker and BSP problem</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Linker-and-BSP-problem/m-p/197592#M7348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This may be obvious, but did you enable the RTCS in the user_config.h file, rebuild the bsp, psp etc? The linkage error usually means MQX didn't include the module. I have seen something similar in the MFS. We had to enable the shell or we had errors even though we don't use the shell.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 23:18:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Linker-and-BSP-problem/m-p/197592#M7348</guid>
      <dc:creator>Cdn_aye</dc:creator>
      <dc:date>2013-03-21T23:18:09Z</dc:date>
    </item>
  </channel>
</rss>

