<?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: Optimization issues in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Optimization-issues/m-p/588787#M28306</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ktownsend on Fri Aug 26 15:56:24 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: JSalisbury&lt;/STRONG&gt;&lt;BR /&gt;Hi,&lt;BR /&gt;Any voltile statements you have missed out?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;+1 ... 95% of optimisation "issues" I've ever seen are because of a missing 'volatile'&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 21:29:19 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T21:29:19Z</dc:date>
    <item>
      <title>Optimization issues</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Optimization-issues/m-p/588784#M28303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by wdawson61 on Fri Aug 26 08:46:21 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Linux build v 4.05 (bld 113)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC1758 custom hardware&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to dig into why a rather large application ~ 128k runs fine with no optimization but starts having issues when ANY compiler optimizations are enabled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Its actually a bi-directional parallel interface to a DSP implemented using GPIOs that breaks.&amp;nbsp; I've looked at the GPIO signals with a scope but they don't appear to be changed significantly between the optimized and non-optimized versions of running code.&amp;nbsp; 2 of the GPIOs are triggering interrupts to the LPC1758 when data is sent / acknowledged by the DSP. I'm not really using any wait loops other than sticking a few no-ops here and there to&amp;nbsp; stretch some signals.&amp;nbsp; But again, they don't appear to be distorted between the optimized and non-optimized versions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any thoughts on how to nail this down would be greatly appreciated!!&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Wade&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:29:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Optimization-issues/m-p/588784#M28303</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: Optimization issues</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Optimization-issues/m-p/588785#M28304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by JSalisbury on Fri Aug 26 10:10:40 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any voltile statements you have missed out?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:29:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Optimization-issues/m-p/588785#M28304</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: Optimization issues</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Optimization-issues/m-p/588786#M28305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Fri Aug 26 10:15:51 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;This FAQ offers some advice:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/CompilerOptimization&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:29:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Optimization-issues/m-p/588786#M28305</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: Optimization issues</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Optimization-issues/m-p/588787#M28306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ktownsend on Fri Aug 26 15:56:24 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: JSalisbury&lt;/STRONG&gt;&lt;BR /&gt;Hi,&lt;BR /&gt;Any voltile statements you have missed out?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;+1 ... 95% of optimisation "issues" I've ever seen are because of a missing 'volatile'&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:29:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Optimization-issues/m-p/588787#M28306</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:29:19Z</dc:date>
    </item>
  </channel>
</rss>

