<?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: LPC expresso Compiler</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-expresso-Compiler/m-p/579383#M24079</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 Thu Dec 18 01:20:54 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I expect that you are using the -Og (optimize for debug):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This option, together with some issues, is described in this FAQ:&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%2Foptimize-for-debug" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/lpcxpresso/optimize-for-debug&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As stated in the FAQ&lt;/SPAN&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt; -Og enables optimizations that should not interfere with debugging experience. However this is still an area of active development, and some issues may sometimes be seen.&lt;/SPAN&gt;&lt;HR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The workaround is to use -O0 optimization.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 02:32:17 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T02:32:17Z</dc:date>
    <item>
      <title>LPC expresso Compiler</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-expresso-Compiler/m-p/579382#M24078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by terrype on Wed Dec 17 17:55:26 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have funny issue in LPCexpresso IDE, compiler etc. I am using ltest version of LPCExpresso IDE together with LPCexpresso LPC1769 Rev B board and Free RTOS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if(result == 0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; turn_on_LED ; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have break point at turn_on_LED ;&amp;nbsp; result is a local variable.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Inside the locl varioable windows shows &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;result&amp;nbsp; is 0x01 but by debugger stops at turn_on_LED&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is anyone face this before? any explanation o hint to solve this probelm, please&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:32:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-expresso-Compiler/m-p/579382#M24078</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: LPC expresso Compiler</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-expresso-Compiler/m-p/579383#M24079</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 Thu Dec 18 01:20:54 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I expect that you are using the -Og (optimize for debug):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This option, together with some issues, is described in this FAQ:&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%2Foptimize-for-debug" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/lpcxpresso/optimize-for-debug&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As stated in the FAQ&lt;/SPAN&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt; -Og enables optimizations that should not interfere with debugging experience. However this is still an area of active development, and some issues may sometimes be seen.&lt;/SPAN&gt;&lt;HR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The workaround is to use -O0 optimization.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:32:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-expresso-Compiler/m-p/579383#M24079</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: LPC expresso Compiler</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-expresso-Compiler/m-p/579384#M24080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by larryvc on Thu Dec 18 11:17:22 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;terrype, what you are saying is that the value of variable 'result' is 0x01 yet it still passes the comparison in the if statement 'if (result == 0)' and then hits the breakpoint at 'turn_on_LED'.&amp;nbsp; That should definitely not happen.&amp;nbsp; I believe that you have something wrong in the code and/or the variable declaration.&amp;nbsp; I'm not convinced that the optimization settings would cause this, but you should try -O0 optimization to see if the problem goes away as TheFallGuy suggested.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you sure that the variable 'result' is a local variable?&amp;nbsp; Does its value get changed in an interrupt handler?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:32:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-expresso-Compiler/m-p/579384#M24080</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:32:17Z</dc:date>
    </item>
  </channel>
</rss>

