<?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>CodeWarrior Development Tools中的主题 Re: How to combine a Processor expert project with a non processor expert proyect (MSCAN_KEA128)?</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-combine-a-Processor-expert-project-with-a-non-processor/m-p/491502#M4052</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Emilio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's not difficult to get rid of these errors&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/56560i8DCF91AB7B3F489E/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;P&gt;just add the related path&lt;/P&gt;&lt;P&gt;"${ProjDirPath}/MSCAN_DRIVER\CAN_inc"&lt;/P&gt;&lt;P&gt;"${ProjDirPath}\MSCAN_DRIVER\CAN_cfg"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to project directory setting you can do it:&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/56589i98DD47435EF78A63/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;however, it's not that easy to add bare metal project code to pe project. for example the two project MCU register header file are defined in different files. some definition, even for same register, the name is different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to port a non-pe code to pe project, please do it part by part&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jennie Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 May 2016 09:42:45 GMT</pubDate>
    <dc:creator>ZhangJennie</dc:creator>
    <dc:date>2016-05-04T09:42:45Z</dc:date>
    <item>
      <title>How to combine a Processor expert project with a non processor expert proyect (MSCAN_KEA128)?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-combine-a-Processor-expert-project-with-a-non-processor/m-p/491501#M4051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello I'm trying to combine a processor expert project that write .txt files to an SD card with an non processor expert project that has the MSCAN driver for&amp;nbsp; KEA128 that I download from nxp. I'm having some troubles, what I'm doing is:&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First removing the PE components of the PE project as the next link explain: &lt;A _jive_internal="true" class="" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fmcuoneclipse.com%2F2012%2F10%2F14%2Fremoval-of-processor-expert-for-a-project%2F"&gt;https://mcuoneclipse.com/2012/10/14/removal-of-processor-expert-for-a-project/&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Second, copy and paste from the non-PE project to the new PE project (now is not)&amp;nbsp; the folder name MSCAN_DRIVER. Do I need to import it in a different way to the project that contains the SD part?, I just copy and paste it. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="148335_148335.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/121516iE94DF0918A43BB53/image-size/large?v=v2&amp;amp;px=999" role="button" title="148335_148335.png" alt="148335_148335.png" /&gt;&lt;/span&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/56313i0175D895057047F2/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;Third copy and paste all the .h and .c files from non-PE project to the new PE project (now is not)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="148336_148336.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/121517i22D78B1E345BF13F/image-size/large?v=v2&amp;amp;px=999" role="button" title="148336_148336.png" alt="148336_148336.png" /&gt;&lt;/span&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/56221i1A3BB33123C6C8D4/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Fourth, Include in the main.c all the .h files I copy&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="148353_148353.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/121518iBDFFE0BF6980FA84/image-size/large?v=v2&amp;amp;px=999" role="button" title="148353_148353.png" alt="148353_148353.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/56266i8F0CE6F6FEF857A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Doing this a have errors that I don't know how to solve it , does anyone have an idea of what I'm doing wrong? The erros I got are the following&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="148352_148352.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/121519i92C2174B0B04704C/image-size/large?v=v2&amp;amp;px=999" role="button" title="148352_148352.png" alt="148352_148352.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/56242i23C5BC8E3BC9EE99/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I atteched the three projects, the sd project (processor expert project), MSCAN_KEA128 (non-PE project) and the one I tried to combine the previous to projects.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Emilio&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337761"&gt;datalogger.rar&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337761"&gt;CANwithdatalogger.rar&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337761"&gt;MSCAN_KEA128.rar&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Apr 2016 21:48:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-combine-a-Processor-expert-project-with-a-non-processor/m-p/491501#M4051</guid>
      <dc:creator>emilioaronmoyer</dc:creator>
      <dc:date>2016-04-30T21:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine a Processor expert project with a non processor expert proyect (MSCAN_KEA128)?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-combine-a-Processor-expert-project-with-a-non-processor/m-p/491502#M4052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Emilio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's not difficult to get rid of these errors&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/56560i8DCF91AB7B3F489E/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;P&gt;just add the related path&lt;/P&gt;&lt;P&gt;"${ProjDirPath}/MSCAN_DRIVER\CAN_inc"&lt;/P&gt;&lt;P&gt;"${ProjDirPath}\MSCAN_DRIVER\CAN_cfg"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to project directory setting you can do it:&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/56589i98DD47435EF78A63/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;however, it's not that easy to add bare metal project code to pe project. for example the two project MCU register header file are defined in different files. some definition, even for same register, the name is different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to port a non-pe code to pe project, please do it part by part&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jennie Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 09:42:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-combine-a-Processor-expert-project-with-a-non-processor/m-p/491502#M4052</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2016-05-04T09:42:45Z</dc:date>
    </item>
  </channel>
</rss>

