<?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 for MCUのトピックRe: One project for two MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/One-project-for-two-MCU/m-p/192960#M7010</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello and thank you for your help.&lt;/P&gt;&lt;P&gt;For the MC9S12XEP100, I'm using the version 5.0, build 9061 Special Edition.&lt;/P&gt;&lt;P&gt;For the MC9S08DZ128, I'm using the version 6.3, build 9279 Special Edition.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Apr 2010 18:54:29 GMT</pubDate>
    <dc:creator>hasaur</dc:creator>
    <dc:date>2010-04-19T18:54:29Z</dc:date>
    <item>
      <title>One project for two MCU</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/One-project-for-two-MCU/m-p/192958#M7008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I am developing on MC9S12XEP100 and MC9S08DZ128. I would like to make one program that can be used for both MCU :&amp;nbsp;I put #define MODE1 (for one of the MCU)&amp;nbsp;or 2(for the other MCU)&amp;nbsp;at the start of an included file and all the others files&amp;nbsp;are doing&amp;nbsp;something different in the two cases (#ifdef MODE1 ..... #endif&amp;nbsp;&amp;nbsp; #ifdef MODE2 ........ #endif). The problem is that I have to use different CodeWarrior IDE for the two MCU.&lt;/P&gt;&lt;P&gt;Please if someone has a solution for doing it.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Apr 2010 15:08:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/One-project-for-two-MCU/m-p/192958#M7008</guid>
      <dc:creator>hasaur</dc:creator>
      <dc:date>2010-04-19T15:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: One project for two MCU</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/One-project-for-two-MCU/m-p/192959#M7009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You may want to use 2 distinct build targets here.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;- Which version of CodeWarrior are you using?&lt;BR /&gt;&amp;nbsp; To retrieve that info:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Start CodeWarrior&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Select Help -&amp;gt; About Freescale CodeWarrior&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Click on "Install Products"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - CodeWarrior version used is displayed on top in the Installed Products dialog.&lt;/P&gt;&lt;P&gt;- Which edition of CodeWarrior are you running )Special, Standard, Professional)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Apr 2010 16:59:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/One-project-for-two-MCU/m-p/192959#M7009</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2010-04-19T16:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: One project for two MCU</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/One-project-for-two-MCU/m-p/192960#M7010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello and thank you for your help.&lt;/P&gt;&lt;P&gt;For the MC9S12XEP100, I'm using the version 5.0, build 9061 Special Edition.&lt;/P&gt;&lt;P&gt;For the MC9S08DZ128, I'm using the version 6.3, build 9279 Special Edition.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Apr 2010 18:54:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/One-project-for-two-MCU/m-p/192960#M7010</guid>
      <dc:creator>hasaur</dc:creator>
      <dc:date>2010-04-19T18:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: One project for two MCU</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/One-project-for-two-MCU/m-p/192961#M7011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry I did not read your previous post carefully enough.&lt;/P&gt;&lt;P&gt;In fact you intend to use the same project for MC9S12XEP100 and MC9S08DZ128.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thes is not possible as you require 2 distinct version of CodeWarrior for these MCUs.&lt;/P&gt;&lt;P&gt;You need CodeWarrior for HC12 for MC9S12XEP100 and CodeWarrior for MCU for MC9S08DZ128.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So you need 2 different .mcp file. One for each MCU.&lt;/P&gt;&lt;P&gt;What you can do is make both .mcp use the same source files (i.e. use physically&amp;nbsp;the same files on the disk).&lt;/P&gt;&lt;P&gt;Same source files can be added to each project using&amp;nbsp;&amp;nbsp;"Add Files".&lt;/P&gt;&lt;P&gt;Then in order to activate code generation for one or the other MCU just add the corresponding option to your compiler command line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -DMODE1 for first MCU and&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;- DMODE2 for second one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Option -D is equivalent to #define, but can be specified on command line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Apr 2010 16:43:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/One-project-for-two-MCU/m-p/192961#M7011</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2010-04-20T16:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: One project for two MCU</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/One-project-for-two-MCU/m-p/192962#M7012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;Thank you for your answer.&lt;/P&gt;&lt;P&gt;That's what I've done before&amp;nbsp;writing this post, but I was hoping that there was another way to do this.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Apr 2010 16:54:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/One-project-for-two-MCU/m-p/192962#M7012</guid>
      <dc:creator>hasaur</dc:creator>
      <dc:date>2010-04-20T16:54:22Z</dc:date>
    </item>
  </channel>
</rss>

