<?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: CAN_LDD Init() undefined reference in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CAN-LDD-Init-undefined-reference/m-p/862234#M14965</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using MQX41&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Mar 2019 07:56:08 GMT</pubDate>
    <dc:creator>stefano_conegia</dc:creator>
    <dc:date>2019-03-04T07:56:08Z</dc:date>
    <item>
      <title>CAN_LDD Init() undefined reference</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CAN-LDD-Init-undefined-reference/m-p/862232#M14963</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'm using&amp;nbsp;&amp;nbsp;CodeWarrior for MCU,&amp;nbsp;Version: 10.6.4,&amp;nbsp;Build Id:150416 with Cpu of type MK60DN512VMD10&lt;BR /&gt;Description: Freescale Kinetis family : MK60 in 144 pin MAPBGA package.&lt;/P&gt;&lt;P&gt;I am using Processor Exports components for various part of my project.&lt;/P&gt;&lt;P&gt;For example, I am using a SPIMaster_LDD without any kinds of problem... as you can see into attached image&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I need to develop on my board a CAN serial communication component.&lt;/P&gt;&lt;P&gt;Using CAN_LDD, created with PE, when I build my project, I have the following link error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C:\CFD_Projects\Prod\SM_CFDB0\S251R0_Fnet_Release/../Sources/Serial/canbusProt.c:53: undefined reference to `CANBUS_PROT_Init(void*)'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use CAN_LDD component with Interrupt enable and CANBUS_PROT is the name of my CAN_LDD component.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that I have precompiled and build the BSP library without problems. The linker doesn't see the functions produced by BSP PE build (Init, ReadFrame, SendFrame ecc.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your answers!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Mar 2019 17:27:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CAN-LDD-Init-undefined-reference/m-p/862232#M14963</guid>
      <dc:creator>stefano_conegia</dc:creator>
      <dc:date>2019-03-03T17:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: CAN_LDD Init() undefined reference</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CAN-LDD-Init-undefined-reference/m-p/862233#M14964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Stefano:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you use MQX or the bare metal version. If MQX is used, which version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2019 03:01:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CAN-LDD-Init-undefined-reference/m-p/862233#M14964</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2019-03-04T03:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: CAN_LDD Init() undefined reference</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CAN-LDD-Init-undefined-reference/m-p/862234#M14965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using MQX41&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2019 07:56:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CAN-LDD-Init-undefined-reference/m-p/862234#M14965</guid>
      <dc:creator>stefano_conegia</dc:creator>
      <dc:date>2019-03-04T07:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: CAN_LDD Init() undefined reference</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CAN-LDD-Init-undefined-reference/m-p/862235#M14966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefano:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this with MQX 4.2, it can work on my side, please see below picture. I only installed MQX 4.2 on my PC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your issue, the undefined reference maybe you need to check the include path is valid or not. or whether the code is generated.&amp;nbsp;&amp;nbsp; With MQX 4.1, you also need to check the windows environment variables. The MQX_ROOT, and MQX_PATH .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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/17260i1C87A7AEAFD48239/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;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2019 07:15:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CAN-LDD-Init-undefined-reference/m-p/862235#M14966</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2019-03-07T07:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: CAN_LDD Init() undefined reference</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CAN-LDD-Init-undefined-reference/m-p/862236#M14967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;thanks for your answer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;what I think is that there is a bug in version 4.1 of MQX, then resolved from version 4.2; in fact if you see the following images&amp;nbsp;are exactly the same as yours and the environment variables are corretc:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_11.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/24071i7611FB592573D5B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_11.png" alt="pastedImage_11.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/24196iF9050E9E8B0490B1/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;BR /&gt;I also think to have partially solved with this workaround: I copied the 2 files produced by the PE in the folder of my source and the linker no longer gives problems:&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_14.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/24470iC4832803E39890EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_14.png" alt="pastedImage_14.png" /&gt;&lt;/span&gt;&lt;BR /&gt;I ask you one last favor: can you send me your 2 files produced by your PE so that I can compare them with mine so as to make sure that the EP has at least generated the correct files?&lt;BR /&gt;Thanks for everything and have a nice day,&lt;BR /&gt;Stefano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2019 08:19:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CAN-LDD-Init-undefined-reference/m-p/862236#M14967</guid>
      <dc:creator>stefano_conegia</dc:creator>
      <dc:date>2019-03-07T08:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: CAN_LDD Init() undefined reference</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CAN-LDD-Init-undefined-reference/m-p/862237#M14968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefano:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to the attached two files.&amp;nbsp; The two files is created based on TWR-K60D100M&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2019 08:39:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CAN-LDD-Init-undefined-reference/m-p/862237#M14968</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2019-03-07T08:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: CAN_LDD Init() undefined reference</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CAN-LDD-Init-undefined-reference/m-p/862238#M14969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;FYI, I confirm you that the files are identical and my CAN bus works perfectly!&lt;/P&gt;&lt;P&gt;In this case the workaround works!&lt;/P&gt;&lt;P&gt;Thanks again for your support,&lt;/P&gt;&lt;P&gt;bye,&lt;/P&gt;&lt;P&gt;Stefano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2019 19:27:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CAN-LDD-Init-undefined-reference/m-p/862238#M14969</guid>
      <dc:creator>stefano_conegia</dc:creator>
      <dc:date>2019-03-12T19:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: CAN_LDD Init() undefined reference</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CAN-LDD-Init-undefined-reference/m-p/862239#M14970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Welcome~, glad to hear it works:) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2019 05:27:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CAN-LDD-Init-undefined-reference/m-p/862239#M14970</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2019-03-13T05:27:19Z</dc:date>
    </item>
  </channel>
</rss>

