<?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>Kinetis Software Development Kitのトピック[BUG REPORT] Dumplicated FLAGS from cmake files</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/BUG-REPORT-Dumplicated-FLAGS-from-cmake-files/m-p/1330891#M8103</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I have tested this bug on the FRDM_K64F SDK 2.9.0 (Linux GCC).&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;When I tried to add some compiler options in the file &lt;EM&gt;tools/cmake_toolchain_files/armgcc.cmake &lt;/EM&gt;once for all instead of editing every &lt;EM&gt;flags.cmake,&amp;nbsp;&lt;/EM&gt;I found the option will occur twice as the example below. In the example, you could find that the default optimization level option &lt;EM&gt;O3&lt;/EM&gt; occurs twice.&amp;nbsp;However, some options could only occur once! I think the CMAKE files of SDK are configured incorrectly. Could you please check and fix this problem?&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;boards/frdmk64f/demo_apps/led_blinky/armgcc$ ./build_release.sh&lt;/P&gt;&lt;P&gt;boards/frdmk64f/demo_apps/led_blinky/armgcc$ grep -rn "O3"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;CMakeCache.txt:324:CMAKE_CXX_FLAGS_RELEASE:INTERNAL=' -O3 -O3 '&lt;BR /&gt;CMakeCache.txt:342:CMAKE_C_FLAGS_RELEASE:INTERNAL=' -O3 -O3 '&lt;BR /&gt;Binary file CMakeFiles/led_blinky.elf.dir/home/lwq/mcu_sanitizer_K64F2.9.0/devices/MK64F12/drivers/fsl_clock.c.obj matches&lt;/P&gt;&lt;/BLOCKQUOTE&gt;</description>
    <pubDate>Fri, 27 Aug 2021 08:09:51 GMT</pubDate>
    <dc:creator>silent-dawn</dc:creator>
    <dc:date>2021-08-27T08:09:51Z</dc:date>
    <item>
      <title>[BUG REPORT] Dumplicated FLAGS from cmake files</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/BUG-REPORT-Dumplicated-FLAGS-from-cmake-files/m-p/1330891#M8103</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I have tested this bug on the FRDM_K64F SDK 2.9.0 (Linux GCC).&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;When I tried to add some compiler options in the file &lt;EM&gt;tools/cmake_toolchain_files/armgcc.cmake &lt;/EM&gt;once for all instead of editing every &lt;EM&gt;flags.cmake,&amp;nbsp;&lt;/EM&gt;I found the option will occur twice as the example below. In the example, you could find that the default optimization level option &lt;EM&gt;O3&lt;/EM&gt; occurs twice.&amp;nbsp;However, some options could only occur once! I think the CMAKE files of SDK are configured incorrectly. Could you please check and fix this problem?&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;boards/frdmk64f/demo_apps/led_blinky/armgcc$ ./build_release.sh&lt;/P&gt;&lt;P&gt;boards/frdmk64f/demo_apps/led_blinky/armgcc$ grep -rn "O3"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;CMakeCache.txt:324:CMAKE_CXX_FLAGS_RELEASE:INTERNAL=' -O3 -O3 '&lt;BR /&gt;CMakeCache.txt:342:CMAKE_C_FLAGS_RELEASE:INTERNAL=' -O3 -O3 '&lt;BR /&gt;Binary file CMakeFiles/led_blinky.elf.dir/home/lwq/mcu_sanitizer_K64F2.9.0/devices/MK64F12/drivers/fsl_clock.c.obj matches&lt;/P&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Fri, 27 Aug 2021 08:09:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/BUG-REPORT-Dumplicated-FLAGS-from-cmake-files/m-p/1330891#M8103</guid>
      <dc:creator>silent-dawn</dc:creator>
      <dc:date>2021-08-27T08:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: [BUG REPORT] Dumplicated FLAGS from cmake files</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/BUG-REPORT-Dumplicated-FLAGS-from-cmake-files/m-p/1333002#M8104</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/144435"&gt;@silent-dawn&lt;/a&gt;&amp;nbsp;:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much for your feedback.&amp;nbsp; I will create a ticket for this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 07:28:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/BUG-REPORT-Dumplicated-FLAGS-from-cmake-files/m-p/1333002#M8104</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2021-09-01T07:28:33Z</dc:date>
    </item>
  </channel>
</rss>

