<?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: lpx55s69 usb vcom lite example NOT working with Optimize Most setting in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpx55s69-usb-vcom-lite-example-NOT-working-with-Optimize-Most/m-p/1542473#M50481</link>
    <description>&lt;P&gt;Hi, Klaus,&lt;/P&gt;
&lt;P&gt;We do not suggest you use any Optimization, we suggest you use&amp;nbsp; "None(-O0)", because the Optimization leads to issue when you execute the code which has optimized.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Oct 2022 07:05:25 GMT</pubDate>
    <dc:creator>xiangjun_rong</dc:creator>
    <dc:date>2022-10-24T07:05:25Z</dc:date>
    <item>
      <title>lpx55s69 usb vcom lite example NOT working with Optimize Most setting</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpx55s69-usb-vcom-lite-example-NOT-working-with-Optimize-Most/m-p/1542293#M50480</link>
      <description>&lt;P&gt;i imported the&amp;nbsp;lpcxpresso55s69_dev_cdc_vcom_lite_bm SDK example project and compiled it in mcuxpresso (comes with optimize "none")&lt;BR /&gt;vcom usb port opens fine and echoes chars&lt;/P&gt;&lt;P&gt;text data bss dec hex filename&lt;BR /&gt;28420 248 26612 55280 d7f0 lpcxpresso55s69_dev_cdc_vcom_lite_bm.axf&lt;BR /&gt;&lt;BR /&gt;now i changed the global optimization in&lt;BR /&gt;project -&amp;gt; properties -&amp;gt; C/C++ build -&amp;gt; settings -&amp;gt; optimizations&lt;BR /&gt;to "Optimize Most (-O3)"&lt;BR /&gt;the code shrunk by 30 % and the usb vcom port can NOT be opened anymore&lt;/P&gt;&lt;P&gt;text data bss dec hex filename&lt;BR /&gt;19804 248 26660 46712 b678 lpcxpresso55s69_dev_cdc_vcom_lite_bm.axf&lt;/P&gt;&lt;P&gt;now i changed the local optimization for file virtual_com.c in&lt;BR /&gt;"virtual_com.c" -&amp;gt; properties -&amp;gt; C/C++ build -&amp;gt; settings -&amp;gt; optimizations&lt;BR /&gt;to "None (-O0)"&lt;BR /&gt;the code got slightly larger, but the usb vcom port opens again and echoes chars&lt;/P&gt;&lt;P&gt;text data bss dec hex filename&lt;BR /&gt;21324 248 26660 48232 bc68 lpcxpresso55s69_dev_cdc_vcom_lite_bm.axf&lt;/P&gt;&lt;P&gt;why are the optimization settings NOT checked before the support product "Example Projects" is released, or do i see it wrong ... is there any reason why it should not work with "optimize most" on ???&lt;/P&gt;&lt;P&gt;yes, it might make debugging sometimes difficult with things being optimized out, but i was always able to get the info i needed, maybe in a not so straight way.&lt;/P&gt;&lt;P&gt;i run always with "optimized most" for the reason being that it's always hard to find where the optimization blows my code to pieces later on when all is done.&lt;/P&gt;&lt;P&gt;why not complex bloatware ??? since we have all the giga-bytes and giga-herz available. yes we have lots of memory and speed, but with optimize it's smaller and it's especially faster.&lt;/P&gt;&lt;P&gt;this feels a bit like, yeah the led is on, ship it, jam it out the door and on to the next. sorry for me saying this, sorry&lt;/P&gt;</description>
      <pubDate>Sun, 23 Oct 2022 21:08:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpx55s69-usb-vcom-lite-example-NOT-working-with-Optimize-Most/m-p/1542293#M50480</guid>
      <dc:creator>EinHexenMeister</dc:creator>
      <dc:date>2022-10-23T21:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: lpx55s69 usb vcom lite example NOT working with Optimize Most setting</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpx55s69-usb-vcom-lite-example-NOT-working-with-Optimize-Most/m-p/1542473#M50481</link>
      <description>&lt;P&gt;Hi, Klaus,&lt;/P&gt;
&lt;P&gt;We do not suggest you use any Optimization, we suggest you use&amp;nbsp; "None(-O0)", because the Optimization leads to issue when you execute the code which has optimized.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 07:05:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpx55s69-usb-vcom-lite-example-NOT-working-with-Optimize-Most/m-p/1542473#M50481</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2022-10-24T07:05:25Z</dc:date>
    </item>
  </channel>
</rss>

