<?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 Edit PE generated code? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Edit-PE-generated-code/m-p/285765#M10959</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Does anybody know ether i can change and revise generated code from PE, and the next time i will recompile i will still have my revised code included?&lt;/P&gt;&lt;P&gt;for instance, i would like to add a piece of code to the main function and want to have it always&lt;/P&gt;&lt;P&gt;even if i change some peripherals in PE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 09 Feb 2014 21:50:37 GMT</pubDate>
    <dc:creator>hesamakbarian</dc:creator>
    <dc:date>2014-02-09T21:50:37Z</dc:date>
    <item>
      <title>Edit PE generated code?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Edit-PE-generated-code/m-p/285765#M10959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Does anybody know ether i can change and revise generated code from PE, and the next time i will recompile i will still have my revised code included?&lt;/P&gt;&lt;P&gt;for instance, i would like to add a piece of code to the main function and want to have it always&lt;/P&gt;&lt;P&gt;even if i change some peripherals in PE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Feb 2014 21:50:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Edit-PE-generated-code/m-p/285765#M10959</guid>
      <dc:creator>hesamakbarian</dc:creator>
      <dc:date>2014-02-09T21:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: Edit PE generated code?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Edit-PE-generated-code/m-p/285766#M10960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hesam Akbarian,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Actually, you can realize the code not modified by configure some items.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you just want the main function not be modified, please write your code below the comments like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* User includes (#include below this line is not maintained by Processor Expert) */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Write your local variable definition here */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; /* Write your code here */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Then your main code will not be modified even you generate the PE code again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; But if you don't want the CPU.c or component.c not be changed, please do like the following:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="56.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/42609i4065C928B471D69A/image-size/large?v=v2&amp;amp;px=999" role="button" title="56.jpg" alt="56.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Just choose "Don't write generated component modules", the the according code will be lock when you generate the new PE code.&lt;/P&gt;&lt;P&gt; I hope my answer will help you!&lt;/P&gt;&lt;P&gt;If you still have question, please let me know!&lt;/P&gt;&lt;P&gt;Best regards!&lt;/P&gt;&lt;P&gt;Jingjing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 02:15:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Edit-PE-generated-code/m-p/285766#M10960</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2014-02-10T02:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Edit PE generated code?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Edit-PE-generated-code/m-p/285767#M10961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;this article shows several options you have:&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2012/03/23/disable-my-code-generation/" title="http://mcuoneclipse.com/2012/03/23/disable-my-code-generation/"&gt;Disable my Code Generation | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 05:19:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Edit-PE-generated-code/m-p/285767#M10961</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2014-02-10T05:19:10Z</dc:date>
    </item>
  </channel>
</rss>

