<?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のトピックCodeWarrior &amp;quot;Build Configuration&amp;quot; Vs ProcessorExpert Configuration</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-quot-Build-Configuration-quot-Vs-ProcessorExpert/m-p/1402586#M15643</link>
    <description>&lt;P&gt;I have a single project that I am trying to configure in such a way that it is flexible for more than one CPU.&lt;/P&gt;&lt;P&gt;In ProcessorExpert I have a second CPU, and two configurations that I can switch between and I am happy with all of that.&lt;BR /&gt;In CodeWarrior I am using the "PEcfg_*" macros (and inclusion of cpu.h) to determine which processor is being targetted.&lt;BR /&gt;What I am trying to do is have a BUILD configuration in CodeWarrior that I can switch between the two processors.&lt;BR /&gt;With Build Config #1 I would include in the project the folder "Generated_Code_cpu1", and in Build Config #2 I would include the folder "Generated_Code_cpu2".&lt;/P&gt;&lt;P&gt;I know I can set the ProcessorExpert generated code output directory in the CodeWarrior build configuration,&amp;nbsp;&lt;EM&gt;BUT&lt;/EM&gt; is there anyway to set the ProcessorExpect&amp;nbsp;&lt;EM&gt;configuration&lt;/EM&gt; ?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;For instance if I select CodeWarrior build config #1 the tools will be setup for CPU#1, and the ProcessorExpert Generated_Code output folder will be set to "Generated_Code_cpu1". However if within ProcessorExpert the selected configuration is "CPU2" then it isn't going to work and I'll end up with code for CPU2 being generated in the "Generated_Code_cpu1" directory.&lt;/P&gt;&lt;P&gt;Am I missing something on how to tie together the CodeWarrior build configuration and the ProcessorExpert configuration settings, or does the developer have to remember to switch&amp;nbsp;&lt;EM&gt;both&lt;/EM&gt; settings manually?&lt;/P&gt;</description>
    <pubDate>Thu, 20 Jan 2022 11:07:40 GMT</pubDate>
    <dc:creator>PhilV</dc:creator>
    <dc:date>2022-01-20T11:07:40Z</dc:date>
    <item>
      <title>CodeWarrior "Build Configuration" Vs ProcessorExpert Configuration</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-quot-Build-Configuration-quot-Vs-ProcessorExpert/m-p/1402586#M15643</link>
      <description>&lt;P&gt;I have a single project that I am trying to configure in such a way that it is flexible for more than one CPU.&lt;/P&gt;&lt;P&gt;In ProcessorExpert I have a second CPU, and two configurations that I can switch between and I am happy with all of that.&lt;BR /&gt;In CodeWarrior I am using the "PEcfg_*" macros (and inclusion of cpu.h) to determine which processor is being targetted.&lt;BR /&gt;What I am trying to do is have a BUILD configuration in CodeWarrior that I can switch between the two processors.&lt;BR /&gt;With Build Config #1 I would include in the project the folder "Generated_Code_cpu1", and in Build Config #2 I would include the folder "Generated_Code_cpu2".&lt;/P&gt;&lt;P&gt;I know I can set the ProcessorExpert generated code output directory in the CodeWarrior build configuration,&amp;nbsp;&lt;EM&gt;BUT&lt;/EM&gt; is there anyway to set the ProcessorExpect&amp;nbsp;&lt;EM&gt;configuration&lt;/EM&gt; ?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;For instance if I select CodeWarrior build config #1 the tools will be setup for CPU#1, and the ProcessorExpert Generated_Code output folder will be set to "Generated_Code_cpu1". However if within ProcessorExpert the selected configuration is "CPU2" then it isn't going to work and I'll end up with code for CPU2 being generated in the "Generated_Code_cpu1" directory.&lt;/P&gt;&lt;P&gt;Am I missing something on how to tie together the CodeWarrior build configuration and the ProcessorExpert configuration settings, or does the developer have to remember to switch&amp;nbsp;&lt;EM&gt;both&lt;/EM&gt; settings manually?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jan 2022 11:07:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-quot-Build-Configuration-quot-Vs-ProcessorExpert/m-p/1402586#M15643</guid>
      <dc:creator>PhilV</dc:creator>
      <dc:date>2022-01-20T11:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior "Build Configuration" Vs ProcessorExpert Configuration</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-quot-Build-Configuration-quot-Vs-ProcessorExpert/m-p/1402651#M15644</link>
      <description>&lt;P&gt;Actually... it seems even the above does not work.&lt;BR /&gt;Despite having two CodeWarrior project build configurations, the project 'properties' (or at least the ProcessorExpert section of them) is not specific to&amp;nbsp;&lt;EM&gt;that&lt;/EM&gt; build configuration. Any PE directory that I specify in the project properties applies to BOTH configurations &lt;LI-EMOJI id="lia_disappointed-face" title=":disappointed_face:"&gt;&lt;/LI-EMOJI&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jan 2022 13:27:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-quot-Build-Configuration-quot-Vs-ProcessorExpert/m-p/1402651#M15644</guid>
      <dc:creator>PhilV</dc:creator>
      <dc:date>2022-01-20T13:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior "Build Configuration" Vs ProcessorExpert Configuration</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-quot-Build-Configuration-quot-Vs-ProcessorExpert/m-p/1404226#M15645</link>
      <description>&lt;P&gt;You are right. The processor expert generated code can't be for a specific build configuration. It's for entire project.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 01:47:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-quot-Build-Configuration-quot-Vs-ProcessorExpert/m-p/1404226#M15645</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2022-01-25T01:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior "Build Configuration" Vs ProcessorExpert Configuration</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-quot-Build-Configuration-quot-Vs-ProcessorExpert/m-p/1404390#M15646</link>
      <description>&lt;P&gt;I'm now using a work around which seems "ok" - especially as I don't need to change the PE code very often.&lt;/P&gt;&lt;P&gt;I generate the PE code into "Generated_Code" directory.&lt;BR /&gt;I then manually copy that to "Generated_Code_CPU1" directory.&lt;BR /&gt;Switch PE configuration to CPU2, and generate the code again.&lt;BR /&gt;Again manually copy from "Generated_Code" to "Generated_Code_CPU2"&lt;/P&gt;&lt;P&gt;I'm then using the build configurations in CodeWarrior for CPU1 to&amp;nbsp;&lt;EM&gt;exclude&lt;/EM&gt; the "Generated_Code" and "Generated_Code_CPU2" directories, and similarly the config for CPU2&amp;nbsp;&lt;EM&gt;excludes&lt;/EM&gt; "Generated_Code" and "Generated_Code_CPU1" directories.&lt;/P&gt;&lt;P&gt;Its a bit clunky, but it seems to work.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 07:37:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-quot-Build-Configuration-quot-Vs-ProcessorExpert/m-p/1404390#M15646</guid>
      <dc:creator>PhilV</dc:creator>
      <dc:date>2022-01-25T07:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior "Build Configuration" Vs ProcessorExpert Configuration</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-quot-Build-Configuration-quot-Vs-ProcessorExpert/m-p/1404880#M15647</link>
      <description>&lt;P&gt;yes, we can reuse processor expert generated code this way by copying it to a self-defined folder like&amp;nbsp;&lt;SPAN&gt;"Generated_Code_CPU1". but&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Processor expert generated code only goes to "Generated_Code" directory&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 02:46:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-quot-Build-Configuration-quot-Vs-ProcessorExpert/m-p/1404880#M15647</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2022-01-26T02:46:50Z</dc:date>
    </item>
  </channel>
</rss>

