<?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>LPCXpresso IDE中的主题 Re: Optimising code to reduce size</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Optimising-code-to-reduce-size/m-p/582063#M25232</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheFallGuy on Mon Jun 22 12:42:13 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you sure that is the size of the image in flash, or just the size of the hex file on disk? They are very different things.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you read &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Ffaq%2Flpcxpresso%2Fcompiler-optimization" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/lpcxpresso/compiler-optimization&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Ffaq%2Flpcxpresso%2Fdebug-build-too-big-fit-flash" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/lpcxpresso/debug-build-too-big-fit-flash&lt;/A&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 02:34:52 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T02:34:52Z</dc:date>
    <item>
      <title>Optimising code to reduce size</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Optimising-code-to-reduce-size/m-p/582062#M25231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by OldisGold on Mon Jun 22 10:20:51 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using LPC54102 Sensor processing solution evaluation kit and sensorhub bsx lite project from LPC Open. The example works fine but when I generated a hex file to check the code size it is over 350 kB. I want to optimize the code for size. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Question: Can I optimise the code for size by removing board.h files. ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:34:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Optimising-code-to-reduce-size/m-p/582062#M25231</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: Optimising code to reduce size</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Optimising-code-to-reduce-size/m-p/582063#M25232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheFallGuy on Mon Jun 22 12:42:13 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you sure that is the size of the image in flash, or just the size of the hex file on disk? They are very different things.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you read &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Ffaq%2Flpcxpresso%2Fcompiler-optimization" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/lpcxpresso/compiler-optimization&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Ffaq%2Flpcxpresso%2Fdebug-build-too-big-fit-flash" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/lpcxpresso/debug-build-too-big-fit-flash&lt;/A&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:34:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Optimising-code-to-reduce-size/m-p/582063#M25232</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Optimising code to reduce size</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Optimising-code-to-reduce-size/m-p/582064#M25233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by OldisGold on Mon Jun 22 13:47:40 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Thanks for the links. I searched in the forum but could not find a solution where the projects were built without importing board.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just discovered the size of the binary(not the hex) is 130 kB. I tried setting the compiler optimisation to -Os but there is very less reduction in size(about 5kB).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also in my case the debug build is not too big for flash. I am working on trying to reduce the binary size to as small as possible. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to know if it is possible to work without the board and kernel parts in the code ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:34:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Optimising-code-to-reduce-size/m-p/582064#M25233</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Optimising code to reduce size</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Optimising-code-to-reduce-size/m-p/582065#M25234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheFallGuy on Mon Jun 22 14:21:26 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;I would like to know if it is possible to work without the board and kernel parts in the code ?&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know, but would have thought it unlikely. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:34:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Optimising-code-to-reduce-size/m-p/582065#M25234</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Optimising code to reduce size</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Optimising-code-to-reduce-size/m-p/582066#M25235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by starblue on Tue Jun 23 00:38:24 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You should look into the .map file to see whether there are parts of the software which use a lot of space and can be removed (because you don't need them in your project). But you can't do this blindly, you need to understand what you are doing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:34:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Optimising-code-to-reduce-size/m-p/582066#M25235</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:34:53Z</dc:date>
    </item>
  </channel>
</rss>

