<?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 Re: How to create own header file in codewarrior in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-to-create-own-header-file-in-codewarrior/m-p/210308#M5902</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;&amp;nbsp; 1- In order to create a header file:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Click on the first icon to the left (Tooltips shows "New Text File")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Select File -&amp;gt; "Save As".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Browse for the location where you want to place your header file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Specify the file name (for instance my file.h)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Select "Project" -&amp;gt; "Add File to Project". This will add your header file to the project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2- Remove startup and main function&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; To remove the startup function add an INIT command to your .prm file. For instance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INIT _myStart&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; where function _myStart is your application entry point.&lt;/P&gt;&lt;P&gt;If you specify your own entry point, you do not need a main function any more.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you remove&amp;nbsp;the startup code, make sure all global variables are initialized through assignment in your application.&lt;/P&gt;&lt;P&gt;You should not define global variables with an initializer (like int myGlobal = 2&lt;IMG alt=":smileywink:" class="emoticon emoticon-smileywink" id="smileywink" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-wink.gif" title="Smiley Wink" /&gt; &amp;nbsp;if you remove startup code.&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, 05 Jul 2010 16:39:31 GMT</pubDate>
    <dc:creator>CrasyCat</dc:creator>
    <dc:date>2010-07-05T16:39:31Z</dc:date>
    <item>
      <title>How to create own header file in codewarrior</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-to-create-own-header-file-in-codewarrior/m-p/210303#M5897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please help me!!!!!!!!!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1)&amp;nbsp; I want to create header file (library files)&lt;/P&gt;&lt;P&gt;2) I want to remove sartup and main function&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jul 2010 14:24:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-to-create-own-header-file-in-codewarrior/m-p/210303#M5897</guid>
      <dc:creator>chetu</dc:creator>
      <dc:date>2010-07-02T14:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to create own header file in codewarrior</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-to-create-own-header-file-in-codewarrior/m-p/210304#M5898</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;- Which CPU are you targeting (HC08, HC12, Coldfire, ..)&lt;BR /&gt;- Which version of CodeWarrior are you using?&lt;BR /&gt;To retrieve that info:&lt;BR /&gt;- Start CodeWarrior&lt;BR /&gt;- Select Help -&amp;gt; About Freescale CodeWarrior&lt;BR /&gt;- Click on "Install Products"&lt;BR /&gt;- CodeWarrior version used is displayed on top in the Installed Products dialog.&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>Fri, 02 Jul 2010 15:44:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-to-create-own-header-file-in-codewarrior/m-p/210304#M5898</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2010-07-02T15:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to create own header file in codewarrior</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-to-create-own-header-file-in-codewarrior/m-p/210305#M5899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for reply&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ver no is 5.9.0 &amp;amp; for HCS 12&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jul 2010 16:11:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-to-create-own-header-file-in-codewarrior/m-p/210305#M5899</guid>
      <dc:creator>chetu</dc:creator>
      <dc:date>2010-07-02T16:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to create own header file in codewarrior</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-to-create-own-header-file-in-codewarrior/m-p/210306#M5900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="2"&gt;- CodeWarrior version used is displayed on top in the Installed Products dialog.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;5.9.0 is version of IDE&lt;/FONT&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jul 2010 18:00:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-to-create-own-header-file-in-codewarrior/m-p/210306#M5900</guid>
      <dc:creator>kef</dc:creator>
      <dc:date>2010-07-02T18:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to create own header file in codewarrior</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-to-create-own-header-file-in-codewarrior/m-p/210307#M5901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HCS 12 3.1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jul 2010 19:17:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-to-create-own-header-file-in-codewarrior/m-p/210307#M5901</guid>
      <dc:creator>chetu</dc:creator>
      <dc:date>2010-07-02T19:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to create own header file in codewarrior</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-to-create-own-header-file-in-codewarrior/m-p/210308#M5902</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;&amp;nbsp; 1- In order to create a header file:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Click on the first icon to the left (Tooltips shows "New Text File")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Select File -&amp;gt; "Save As".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Browse for the location where you want to place your header file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Specify the file name (for instance my file.h)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Select "Project" -&amp;gt; "Add File to Project". This will add your header file to the project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2- Remove startup and main function&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; To remove the startup function add an INIT command to your .prm file. For instance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INIT _myStart&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; where function _myStart is your application entry point.&lt;/P&gt;&lt;P&gt;If you specify your own entry point, you do not need a main function any more.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you remove&amp;nbsp;the startup code, make sure all global variables are initialized through assignment in your application.&lt;/P&gt;&lt;P&gt;You should not define global variables with an initializer (like int myGlobal = 2&lt;IMG alt=":smileywink:" class="emoticon emoticon-smileywink" id="smileywink" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-wink.gif" title="Smiley Wink" /&gt; &amp;nbsp;if you remove startup code.&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, 05 Jul 2010 16:39:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-to-create-own-header-file-in-codewarrior/m-p/210308#M5902</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2010-07-05T16:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to create own header file in codewarrior</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-to-create-own-header-file-in-codewarrior/m-p/210309#M5903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i want library function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jul 2010 11:36:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-to-create-own-header-file-in-codewarrior/m-p/210309#M5903</guid>
      <dc:creator>chetu</dc:creator>
      <dc:date>2010-07-06T11:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to create own header file in codewarrior</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-to-create-own-header-file-in-codewarrior/m-p/210310#M5904</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;Can you please be more specific and explain what you are looking for?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do not understand the question here.&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, 06 Jul 2010 16:28:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-to-create-own-header-file-in-codewarrior/m-p/210310#M5904</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2010-07-06T16:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to create own header file in codewarrior</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-to-create-own-header-file-in-codewarrior/m-p/210311#M5905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for helping me&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got it&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I&amp;nbsp;want to creat&amp;nbsp; library files using libmaker&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 13:10:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-to-create-own-header-file-in-codewarrior/m-p/210311#M5905</guid>
      <dc:creator>chetu</dc:creator>
      <dc:date>2010-07-14T13:10:33Z</dc:date>
    </item>
  </channel>
</rss>

