<?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: Code Warrior 10.2 Build bug in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Code-Warrior-10-2-Build-bug/m-p/215926#M8495</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;the thing is: the assembler does not produce a list of include dependencies for the make utility (the C/C++ compiler does).&lt;/P&gt;&lt;P&gt;As such, the make file has no dependency to the .inc file, just to the .asm source file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# Tool invocations&lt;/P&gt;&lt;P&gt;abs.obj: $(ASM_SRCS)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;So with this, the make does not realize that changing the .inc needs to assembly the main.asm.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;Several 'solutions':&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;- 'touch' the main.asm file: you do not need to add an error: simply makes sure it gets a file date newer than the object file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;- do a Project &amp;gt; Clean with a build&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;- Alternatively you can create make targets 'clean' and 'all' in the Make Targets View. Details in the link below.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;- create your own make file: this might be helpful: &lt;/SPAN&gt;&lt;A href="http://mcuoneclipse.wordpress.com/2012/02/13/make-my-make-with-eclipse-and-mcu10/" title="http://mcuoneclipse.wordpress.com/2012/02/13/make-my-make-with-eclipse-and-mcu10/"&gt;Make my Make with Eclipse and MCU10 | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;Hope this helps,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;Erich&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Oct 2012 07:08:57 GMT</pubDate>
    <dc:creator>BlackNight</dc:creator>
    <dc:date>2012-10-12T07:08:57Z</dc:date>
    <item>
      <title>Code Warrior 10.2 Build bug</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Code-Warrior-10-2-Build-bug/m-p/215925#M8494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello again.&lt;/P&gt;&lt;P&gt;Quick question here concerning the build operation .. hopefully someone can provide an answer.&lt;/P&gt;&lt;P&gt;I write code with Code Warrior 10.2 in Assembler with absolute.&lt;/P&gt;&lt;P&gt;So I have two source files a Main.asm and MCUinit.inc include.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have this problem .. IF I alter the MCUinit code and then build the code CW doesnt build the new code with the MCUinit changes included.&lt;/P&gt;&lt;P&gt;I have to edit the main.asm and I usually just create an error by adding a letter to the end of a variable and then perform a build.&lt;/P&gt;&lt;P&gt;CW flags the error and I simply delete the added letter and rebuild .. Then it rebuilds and includes the changes made to the MCUinit.inc file.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know this is not huge but it is sometime annoying and I just thought I would see if anyone has any advise.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jeff Kopittke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2012 21:37:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Code-Warrior-10-2-Build-bug/m-p/215925#M8494</guid>
      <dc:creator>Jep</dc:creator>
      <dc:date>2012-10-11T21:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: Code Warrior 10.2 Build bug</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Code-Warrior-10-2-Build-bug/m-p/215926#M8495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;the thing is: the assembler does not produce a list of include dependencies for the make utility (the C/C++ compiler does).&lt;/P&gt;&lt;P&gt;As such, the make file has no dependency to the .inc file, just to the .asm source file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# Tool invocations&lt;/P&gt;&lt;P&gt;abs.obj: $(ASM_SRCS)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;So with this, the make does not realize that changing the .inc needs to assembly the main.asm.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;Several 'solutions':&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;- 'touch' the main.asm file: you do not need to add an error: simply makes sure it gets a file date newer than the object file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;- do a Project &amp;gt; Clean with a build&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;- Alternatively you can create make targets 'clean' and 'all' in the Make Targets View. Details in the link below.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;- create your own make file: this might be helpful: &lt;/SPAN&gt;&lt;A href="http://mcuoneclipse.wordpress.com/2012/02/13/make-my-make-with-eclipse-and-mcu10/" title="http://mcuoneclipse.wordpress.com/2012/02/13/make-my-make-with-eclipse-and-mcu10/"&gt;Make my Make with Eclipse and MCU10 | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;Hope this helps,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;Erich&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2012 07:08:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Code-Warrior-10-2-Build-bug/m-p/215926#M8495</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2012-10-12T07:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: Code Warrior 10.2 Build bug</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Code-Warrior-10-2-Build-bug/m-p/215927#M8496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for taking the time to answer Erich .. I will try the touch method&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeff Kopittke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2012 08:36:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Code-Warrior-10-2-Build-bug/m-p/215927#M8496</guid>
      <dc:creator>Jep</dc:creator>
      <dc:date>2012-10-12T08:36:42Z</dc:date>
    </item>
  </channel>
</rss>

