<?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 How to add compiler flags in VSCode in MCUXpresso for VSCode</title>
    <link>https://community.nxp.com/t5/MCUXpresso-for-VSCode/How-to-add-compiler-flags-in-VSCode/m-p/2347172#M524</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;how can I add compiler flags to VSCode?&lt;/P&gt;&lt;P&gt;I started a example from the NXP SDK with the MCUXpressor for VSCode plugin, which works good, but I need to change some compiler settings.&lt;/P&gt;&lt;P&gt;For example I don't need warnings into errors or need to change the optimization for compilation.&lt;/P&gt;&lt;P&gt;How can I change these settings?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Wed, 08 Apr 2026 11:43:17 GMT</pubDate>
    <dc:creator>tisch</dc:creator>
    <dc:date>2026-04-08T11:43:17Z</dc:date>
    <item>
      <title>How to add compiler flags in VSCode</title>
      <link>https://community.nxp.com/t5/MCUXpresso-for-VSCode/How-to-add-compiler-flags-in-VSCode/m-p/2347172#M524</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;how can I add compiler flags to VSCode?&lt;/P&gt;&lt;P&gt;I started a example from the NXP SDK with the MCUXpressor for VSCode plugin, which works good, but I need to change some compiler settings.&lt;/P&gt;&lt;P&gt;For example I don't need warnings into errors or need to change the optimization for compilation.&lt;/P&gt;&lt;P&gt;How can I change these settings?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2026 11:43:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-for-VSCode/How-to-add-compiler-flags-in-VSCode/m-p/2347172#M524</guid>
      <dc:creator>tisch</dc:creator>
      <dc:date>2026-04-08T11:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to add compiler flags in VSCode</title>
      <link>https://community.nxp.com/t5/MCUXpresso-for-VSCode/How-to-add-compiler-flags-in-VSCode/m-p/2347431#M525</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/261224"&gt;@tisch&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thank you for your post&lt;/P&gt;
&lt;P&gt;The compiler Flags at MCUXpresso extension for VSCode could be edited in the CMakeLists.txt file that is located in your Project Files&lt;/P&gt;
&lt;P&gt;You could refer to&amp;nbsp;&lt;A href="https://mcuxpresso.nxp.com/mcuxsdk/latest/html/develop/build_system/IDE_Project.html?_gl=1*1bja8dc*_ga*NDYxMDQ4ODkwLjE3NzU2Njg5Njg.*_ga_WM5LE0KMSH*czE3NzU2Njg5NjgkbzEkZzEkdDE3NzU2NjkwMjQkajQkbDAkaDEwNDQ5NTUy#assembler-compiler-linker-flags" target="_self"&gt;Assembler/Compiler/Linker Flags&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;For examples if you are using armgcc you need to use&amp;nbsp;&lt;/P&gt;
&lt;P&gt;mcux_add_armgcc_configuration(&lt;/P&gt;
&lt;P&gt;CC "-O0"&lt;/P&gt;
&lt;P&gt;)&lt;/P&gt;
&lt;P&gt;Let me know if this information helps&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2026 17:40:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-for-VSCode/How-to-add-compiler-flags-in-VSCode/m-p/2347431#M525</guid>
      <dc:creator>carlos_o</dc:creator>
      <dc:date>2026-04-08T17:40:03Z</dc:date>
    </item>
  </channel>
</rss>

