<?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: LPCXpresso vs Keil IDE in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-vs-Keil-IDE/m-p/539093#M6355</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Karthik Venkatesh on Fri Dec 11 05:21:44 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So do you mean, using lpcxpresso it is difficult to achieve the code size of Keil's ???&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Karthik&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 21:53:38 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T21:53:38Z</dc:date>
    <item>
      <title>LPCXpresso vs Keil IDE</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-vs-Keil-IDE/m-p/539089#M6351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Karthik Venkatesh on Fri Dec 11 01:39:28 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently we are using Keil IDE and we would like to move to LPCXpresso since the free version itself supports 256KB code size, whereas Keil supports only 32KB.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But before that, I wanted to compare the code density i.e how much code size difference when building in keil and LPCXpresso. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am aware that LPCXpresso uses --gc-sections optimization which helps reduce the code size considerably.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Similarly I tried playing with different Optimization levels like -O0,O1,O2,O3 etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But what I would like to have is a concrete proof that there will not be &amp;gt;5% code size variation between these two IDEs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For that ideally I could like to have two exact same projects - one in keil and other in lpcxpresso. Build them and see the difference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible ? Has this been done before ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help, for it could help us immensely.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks and regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Karthik&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:53:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-vs-Keil-IDE/m-p/539089#M6351</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso vs Keil IDE</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-vs-Keil-IDE/m-p/539090#M6352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by vtw.433e on Fri Dec 11 02:17:49 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You can do this yourself by using any of the LPCOpen examples - they are provide for Keil, IAR and LPCXpresso. When comparing, make sure you compare like with like (i.e the same optimization levels etc).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think you will find that GCC is pretty close to ARMCC - sometimes better, sometimes worse, but generally close.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:53:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-vs-Keil-IDE/m-p/539090#M6352</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso vs Keil IDE</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-vs-Keil-IDE/m-p/539091#M6353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Karthik Venkatesh on Fri Dec 11 03:51:44 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As you said, I tried building the periph_blinky project from LPCOpen on both Keil and LPCxpresso and attached is the result:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;periph_blinky on keil :- &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Program Size: Code=1436&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RO-data=236&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RW-data=8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ZI-data=512&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;periph_blinky on lpcx:-&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;text&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data&amp;nbsp;&amp;nbsp;&amp;nbsp; bss&amp;nbsp;&amp;nbsp;&amp;nbsp; dec&amp;nbsp;&amp;nbsp;&amp;nbsp; hexfilename&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;7612&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; 472&amp;nbsp;&amp;nbsp; 8084&amp;nbsp;&amp;nbsp; 1f94periph_blinky.axf&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So 1436 vs 7612 is the flash code size diff approximately.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I made sure the optimization levels are same.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am using ubuntu as OS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why there is this much difference ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Karthik&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:53:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-vs-Keil-IDE/m-p/539091#M6353</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso vs Keil IDE</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-vs-Keil-IDE/m-p/539092#M6354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Fri Dec 11 04:30:53 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Karthik Venkatesh&lt;/STRONG&gt;&lt;BR /&gt;Why there is this much difference ?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Optimization (of project and of all included libraries), library type and debug settings in board library&amp;nbsp; :O&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:53:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-vs-Keil-IDE/m-p/539092#M6354</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso vs Keil IDE</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-vs-Keil-IDE/m-p/539093#M6355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Karthik Venkatesh on Fri Dec 11 05:21:44 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So do you mean, using lpcxpresso it is difficult to achieve the code size of Keil's ???&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Karthik&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:53:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-vs-Keil-IDE/m-p/539093#M6355</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso vs Keil IDE</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-vs-Keil-IDE/m-p/539094#M6356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Fri Dec 11 06:28:24 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;What I suspect R2D2 is suggesting is that you have modified the build options for the Debug build of the main application project, but not those of the chip and board libraries that the application project links with.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But to be honest changing those as well is probably not what you want to do. You should instead change to build the "Release" Configuration of all of the projects. How to do this is described in &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.lpcware.com%2Fcontent%2Ffaq%2Flpcxpresso%2Fchange-build-config" rel="nofollow" target="_blank"&gt;https://www.lpcware.com/content/faq/lpcxpresso/change-build-config&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For background information, you might also want to look at the optimisation FAQ too :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.lpcware.com%2Fcontent%2Ffaq%2Flpcxpresso%2Fcompiler-optimization" rel="nofollow" target="_blank"&gt;https://www.lpcware.com/content/faq/lpcxpresso/compiler-optimization&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;But I also strongly suggest that you read the LPCXpresso IDE User Guide provided within the product itself. And watch the videos on the LPCzone youtube channel, starting with the "Rapid Embedded Development" one available via - &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.lpcware.com%2Flpcxpresso" rel="nofollow" target="_blank"&gt;https://www.lpcware.com/lpcxpresso&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso Support&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:53:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-vs-Keil-IDE/m-p/539094#M6356</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso vs Keil IDE</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-vs-Keil-IDE/m-p/539095#M6357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rocketdawg on Fri Dec 11 10:34:49 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You will have to look at the map files generated by both tools to get a real picture of the code size.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Just comparing the binary files is not good enough because of library differences and startup code,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;which will be a real minor difference in a large project&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:53:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-vs-Keil-IDE/m-p/539095#M6357</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:53:39Z</dc:date>
    </item>
  </channel>
</rss>

