<?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: Removing Debug Code from CodeWarrior with HC12 in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Removing-Debug-Code-from-CodeWarrior-with-HC12/m-p/189654#M6758</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Debug information is not put into the flash, so that option wont help you then.&lt;BR /&gt;&lt;BR /&gt;The first thing I would look at is the map file, check all the larger objects if they are reasonable, if they&lt;BR /&gt;can be optimized, if constants are in flash, if all the 64k are used completely.&lt;BR /&gt;Daniel&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Sep 2008 11:05:16 GMT</pubDate>
    <dc:creator>CompilerGuru</dc:creator>
    <dc:date>2008-09-30T11:05:16Z</dc:date>
    <item>
      <title>Removing Debug Code from CodeWarrior with HC12</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Removing-Debug-Code-from-CodeWarrior-with-HC12/m-p/189651#M6755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to remove all debug code from my build. I am using CodeWarrior 5.7.0 with MC9S12E64.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I set the option "Output/ don't generate debug information" in the compiler options.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The linker gives me the message "File star12.c.o should contain DWARF information".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am also setting the option "Output/ ELF/DWARF:strip simbolic information", and there is no problem with it but I am not sure if this is enought&amp;nbsp; to remove all debug code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am having space problems and I am trying to remove all the unused code that I can.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll apreciate any suggestion.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 00:35:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Removing-Debug-Code-from-CodeWarrior-with-HC12/m-p/189651#M6755</guid>
      <dc:creator>gabrielsiqueira</dc:creator>
      <dc:date>2008-09-30T00:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Debug Code from CodeWarrior with HC12</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Removing-Debug-Code-from-CodeWarrior-with-HC12/m-p/189652#M6756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Just to be sure, your space problem is on the HD on your PC, and not that you run out of space in the target app on the N64?&lt;BR /&gt;&lt;BR /&gt;I would not disable the debug info generation because of disk space, I don't think that this is worth the effort. The only reason I see for not generating DWARF debug information is to distribute a static library. Anyway, as you noted, the startup code does require the debug information during the link stage.&lt;BR /&gt;&lt;BR /&gt;If you are not using C++, you can delete the lib\hc12c\lib\cpp* files in the library, for me the take 80 MB,&lt;BR /&gt;and I hardly ever use them. lib\hc12c\hc12_lib.mcp can be used to rebuild them.&lt;BR /&gt;Also if you are really low on disk, the _Data folders on currently not used projects can be deleted, their content is recreated when you build the next time the corresponding project.&lt;BR /&gt;&lt;BR /&gt;Daniel&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 07:51:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Removing-Debug-Code-from-CodeWarrior-with-HC12/m-p/189652#M6756</guid>
      <dc:creator>CompilerGuru</dc:creator>
      <dc:date>2008-09-30T07:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Debug Code from CodeWarrior with HC12</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Removing-Debug-Code-from-CodeWarrior-with-HC12/m-p/189653#M6757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I am running out of space in the 64k flash target.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 07:58:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Removing-Debug-Code-from-CodeWarrior-with-HC12/m-p/189653#M6757</guid>
      <dc:creator>gabrielsiqueira</dc:creator>
      <dc:date>2008-09-30T07:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Debug Code from CodeWarrior with HC12</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Removing-Debug-Code-from-CodeWarrior-with-HC12/m-p/189654#M6758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Debug information is not put into the flash, so that option wont help you then.&lt;BR /&gt;&lt;BR /&gt;The first thing I would look at is the map file, check all the larger objects if they are reasonable, if they&lt;BR /&gt;can be optimized, if constants are in flash, if all the 64k are used completely.&lt;BR /&gt;Daniel&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 11:05:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Removing-Debug-Code-from-CodeWarrior-with-HC12/m-p/189654#M6758</guid>
      <dc:creator>CompilerGuru</dc:creator>
      <dc:date>2008-09-30T11:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Debug Code from CodeWarrior with HC12</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Removing-Debug-Code-from-CodeWarrior-with-HC12/m-p/189655#M6759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Hello,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Are you using floating point variables &amp;amp; libraries?&amp;nbsp; You will save considerable code space if these can be avoided.&amp;nbsp; The use of library functions, such as printf(), sprintf() also require considerable code size, particularly if they also have to accommodate floating point parameters.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Mac&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by bigmac on &lt;SPAN class="date_text"&gt;2008-09-30&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;04:48 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 13:46:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Removing-Debug-Code-from-CodeWarrior-with-HC12/m-p/189655#M6759</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2008-09-30T13:46:05Z</dc:date>
    </item>
  </channel>
</rss>

