<?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: board.h missing extern C guard in MCX Microcontrollers</title>
    <link>https://community.nxp.com/t5/MCX-Microcontrollers/board-h-missing-extern-C-guard/m-p/1912071#M1235</link>
    <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/113456"&gt;@aberger&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Based on your feedback, we have reproduced the issue and have indeed identified the corresponding problem. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for your contribution to the NXP Community with your answer! We have submitted the bug to the relevant team and hope to update the corresponding patch as soon as possible.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regard&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Liu&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 19 Jul 2024 09:08:48 GMT</pubDate>
    <dc:creator>Alphabert_Liu</dc:creator>
    <dc:date>2024-07-19T09:08:48Z</dc:date>
    <item>
      <title>board.h missing extern C guard</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/board-h-missing-extern-C-guard/m-p/1910739#M1222</link>
      <description>&lt;P&gt;This is a bug report. I am using SDK_2.16.000 for the MCXA153. When I use the "Create a new C/C++ project" wizard in MCUXpresso and create a new C++ project, the generated code fails to build because of&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;undefined reference to `BOARD_InitDebugConsole()'&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;This is because board.h is missing the extern C guard, which can be fixed as follows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;#ifdef __cplusplus
extern "C" {
#endif

void BOARD_InitDebugConsole(void);

#ifdef __cplusplus
}
#endif&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2024 18:23:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/board-h-missing-extern-C-guard/m-p/1910739#M1222</guid>
      <dc:creator>aberger</dc:creator>
      <dc:date>2024-07-17T18:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: board.h missing extern C guard</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/board-h-missing-extern-C-guard/m-p/1912071#M1235</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/113456"&gt;@aberger&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Based on your feedback, we have reproduced the issue and have indeed identified the corresponding problem. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for your contribution to the NXP Community with your answer! We have submitted the bug to the relevant team and hope to update the corresponding patch as soon as possible.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regard&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Liu&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2024 09:08:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/board-h-missing-extern-C-guard/m-p/1912071#M1235</guid>
      <dc:creator>Alphabert_Liu</dc:creator>
      <dc:date>2024-07-19T09:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: board.h missing extern C guard</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/board-h-missing-extern-C-guard/m-p/2257384#M4479</link>
      <description>&lt;P&gt;More that a year after you've made a promise, the bug is still there when creating a C++ project in a fresh installation (december, 2025):&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;undefined reference to `BOARD_InitDebugConsole()'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Does anyone at NXP is taking care of its customers?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Dec 2025 17:32:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/board-h-missing-extern-C-guard/m-p/2257384#M4479</guid>
      <dc:creator>fjrg76</dc:creator>
      <dc:date>2025-12-08T17:32:39Z</dc:date>
    </item>
  </channel>
</rss>

