<?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 Use Device Initialization To generate CODE, How to avoid the code lose? in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Use-Device-Initialization-To-generate-CODE-How-to-avoid-the-code/m-p/141141#M1355</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello,&lt;/DIV&gt;&lt;DIV&gt;I use the Devide Initialization to configure MCU and generate Code. MCUinit.c is created.&lt;/DIV&gt;&lt;DIV&gt;Because MCUinit.c have Interrupt function.&amp;nbsp; Need to tranfer the value between&amp;nbsp;MCUinit.c and &amp;nbsp;main.c.&lt;/DIV&gt;&lt;DIV&gt;So I define the extern arguement.&amp;nbsp; But&amp;nbsp; once I &amp;nbsp;re-generate code, all the definations are lose.&lt;/DIV&gt;&lt;DIV&gt;How to cover this problem?&lt;/DIV&gt;&lt;DIV&gt;Best regards&lt;/DIV&gt;&lt;DIV&gt;harlen&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Jul 2007 16:03:42 GMT</pubDate>
    <dc:creator>harlenChen</dc:creator>
    <dc:date>2007-07-25T16:03:42Z</dc:date>
    <item>
      <title>Use Device Initialization To generate CODE, How to avoid the code lose?</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Use-Device-Initialization-To-generate-CODE-How-to-avoid-the-code/m-p/141141#M1355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello,&lt;/DIV&gt;&lt;DIV&gt;I use the Devide Initialization to configure MCU and generate Code. MCUinit.c is created.&lt;/DIV&gt;&lt;DIV&gt;Because MCUinit.c have Interrupt function.&amp;nbsp; Need to tranfer the value between&amp;nbsp;MCUinit.c and &amp;nbsp;main.c.&lt;/DIV&gt;&lt;DIV&gt;So I define the extern arguement.&amp;nbsp; But&amp;nbsp; once I &amp;nbsp;re-generate code, all the definations are lose.&lt;/DIV&gt;&lt;DIV&gt;How to cover this problem?&lt;/DIV&gt;&lt;DIV&gt;Best regards&lt;/DIV&gt;&lt;DIV&gt;harlen&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2007 16:03:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Use-Device-Initialization-To-generate-CODE-How-to-avoid-the-code/m-p/141141#M1355</guid>
      <dc:creator>harlenChen</dc:creator>
      <dc:date>2007-07-25T16:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: Use Device Initialization To generate CODE, How to avoid the code lose?</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Use-Device-Initialization-To-generate-CODE-How-to-avoid-the-code/m-p/141142#M1356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I don't remember the exact post, but we already talked about that.&lt;BR /&gt;If you use the search on the Forum, you will find these posts.&lt;BR /&gt;&lt;BR /&gt;The inconvenient in doing so means that some beans will not be modified and therefore you kind of lose the bean.&lt;BR /&gt;But look at the posts, they will be more descriptive.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Alban.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2007 19:23:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Use-Device-Initialization-To-generate-CODE-How-to-avoid-the-code/m-p/141142#M1356</guid>
      <dc:creator>Alban</dc:creator>
      <dc:date>2007-07-25T19:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: Use Device Initialization To generate CODE, How to avoid the code lose?</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Use-Device-Initialization-To-generate-CODE-How-to-avoid-the-code/m-p/141143#M1357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; Source files located in the project's "Generated Code" folder should&amp;nbsp;not be modified by the user.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; Each time you hit generate code, content of these files will get lost.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; Only exception is inside of interrupt function implemented in MCUInit.c, you can add code after the&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; comment /* Write your interrupt code here ... */&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2007 13:04:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Use-Device-Initialization-To-generate-CODE-How-to-avoid-the-code/m-p/141143#M1357</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2007-07-26T13:04:56Z</dc:date>
    </item>
  </channel>
</rss>

