<?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>Kinetis Design Studio中的主题 Re: How to optimize the code size in KDS ?</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-optimize-the-code-size-in-KDS/m-p/479115#M5397</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Can you tell me how to turn on compiler optimizations in CodeWarrior?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Apr 2016 11:51:56 GMT</pubDate>
    <dc:creator>vigneshbalaji</dc:creator>
    <dc:date>2016-04-27T11:51:56Z</dc:date>
    <item>
      <title>How to optimize the code size in KDS ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-optimize-the-code-size-in-KDS/m-p/479113#M5395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My Project size is &lt;/P&gt;&lt;DIV class="j-rte-table"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style=""&gt; text&lt;/TD&gt;&lt;TD style=""&gt;&amp;nbsp;&amp;nbsp; data&lt;/TD&gt;&lt;TD style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; bss&lt;/TD&gt;&lt;TD style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dec&lt;/TD&gt;&lt;TD style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; hex&lt;/TD&gt;&lt;TD style=""&gt;filename&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style=""&gt;&amp;nbsp;&amp;nbsp; 6392&lt;/TD&gt;&lt;TD style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 32&lt;/TD&gt;&lt;TD style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 836&lt;/TD&gt;&lt;TD style=""&gt;&amp;nbsp;&amp;nbsp; 7260&lt;/TD&gt;&lt;TD style=""&gt;&amp;nbsp;&amp;nbsp; 1c5c&lt;/TD&gt;&lt;TD style=""&gt;Bootloader.elf&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;P&gt;How to reduce the code size ? &lt;/P&gt;&lt;P&gt;Am using MKE02Z64VLD2 microcontroller&lt;/P&gt;&lt;P&gt;KDS 2.0&lt;/P&gt;&lt;P&gt;I found this link while searching. But this is explained for codewarrior. For KDS I could not adopt the same method. &lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fmcuoneclipse.com%2F2012%2F11%2F11%2Foptimizing-the-kinetis-gcc-startup%2F" rel="nofollow" target="_blank"&gt;https://mcuoneclipse.com/2012/11/11/optimizing-the-kinetis-gcc-startup/&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 10:13:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-optimize-the-code-size-in-KDS/m-p/479113#M5395</guid>
      <dc:creator>ganeshramachand</dc:creator>
      <dc:date>2016-04-26T10:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to optimize the code size in KDS ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-optimize-the-code-size-in-KDS/m-p/479114#M5396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The simplest thing is to turn on compiler optimizations, have you done this already?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 13:09:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-optimize-the-code-size-in-KDS/m-p/479114#M5396</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2016-04-26T13:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to optimize the code size in KDS ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-optimize-the-code-size-in-KDS/m-p/479115#M5397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Can you tell me how to turn on compiler optimizations in CodeWarrior?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 11:51:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-optimize-the-code-size-in-KDS/m-p/479115#M5397</guid>
      <dc:creator>vigneshbalaji</dc:creator>
      <dc:date>2016-04-27T11:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to optimize the code size in KDS ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-optimize-the-code-size-in-KDS/m-p/479116#M5398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Erich, In Project -&amp;gt; Properties -&amp;gt; C/C++ build -&amp;gt; Settings -&amp;gt; Tool Settings -&amp;gt; Optimization. In Optimization level, I selected Optimize Size (-Os) and Built the code. From size of 6392, it has come down to 3780. But in the above quoted article of yours, you have changed the Linker flags in the settings and still reduced the size, how is it possible in KDS , as there is no such linker flags option in my IDE. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2016 08:29:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-optimize-the-code-size-in-KDS/m-p/479116#M5398</guid>
      <dc:creator>ganeshramachand</dc:creator>
      <dc:date>2016-05-02T08:29:14Z</dc:date>
    </item>
  </channel>
</rss>

