<?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: Redundant redeclaration of SystemCoreClock in MCUXpresso Config Tools</title>
    <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Redundant-redeclaration-of-SystemCoreClock/m-p/1289930#M1202</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Thank you for reporting the issue. The redundant declaration of SystemCoreClock variable will be removed from the generated code of the clock initialization source code. It will be fixed in a next release.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Marek Neuzil&lt;/P&gt;</description>
    <pubDate>Wed, 09 Jun 2021 13:32:05 GMT</pubDate>
    <dc:creator>marek_neuzil</dc:creator>
    <dc:date>2021-06-09T13:32:05Z</dc:date>
    <item>
      <title>Redundant redeclaration of SystemCoreClock</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Redundant-redeclaration-of-SystemCoreClock/m-p/1288628#M1201</link>
      <description>&lt;P&gt;I am using a MCUXpresso IDE V11.3.1 to generate board configuration files for MKE16Z series device.&lt;/P&gt;&lt;P&gt;I have enabled extra warnings in my project, among them "&lt;SPAN&gt;-Wredundant-decls". With this option, the compiler produces the following warning in board/clock_config.c:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;../../../board/clock_config.c:46:17: error: redundant redeclaration of 'SystemCoreClock' [-Werror=redundant-decls]
   46 | extern uint32_t SystemCoreClock;
      |                 ^~~~~~~~~~~~~~~
In file included from ../../../lib/NXP_MKE16Z64/devices/MKE16Z4/MKE16Z4.h:137,
                 from ../../../lib/NXP_MKE16Z64/devices/MKE16Z4/fsl_device_registers.h:24,
                 from ../../../lib/NXP_MKE16Z64/devices/MKE16Z4/drivers/fsl_common.h:22,
                 from ../../../board/clock_config.h:9,
                 from ../../../board/clock_config.c:34:
../../../lib/NXP_MKE16Z64/devices/MKE16Z4/system_MKE16Z4.h:90:17: note: previous declaration of 'SystemCoreClock' was here&lt;/LI-CODE&gt;&lt;P&gt;Since the declaration is already present in&amp;nbsp;system_MKE16Z4.h, the generator should be updated to remove the duplicate declaration.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 02:08:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Redundant-redeclaration-of-SystemCoreClock/m-p/1288628#M1201</guid>
      <dc:creator>Armandas</dc:creator>
      <dc:date>2021-06-08T02:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Redundant redeclaration of SystemCoreClock</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Redundant-redeclaration-of-SystemCoreClock/m-p/1289930#M1202</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Thank you for reporting the issue. The redundant declaration of SystemCoreClock variable will be removed from the generated code of the clock initialization source code. It will be fixed in a next release.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Marek Neuzil&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 13:32:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Redundant-redeclaration-of-SystemCoreClock/m-p/1289930#M1202</guid>
      <dc:creator>marek_neuzil</dc:creator>
      <dc:date>2021-06-09T13:32:05Z</dc:date>
    </item>
  </channel>
</rss>

