<?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 MicrocontrollersのトピックRe: Conversion from C to C++ not working in MCUXpresso Configuration</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Conversion-from-C-to-C-not-working-in-MCUXpresso-Configuration/m-p/1205353#M59211</link>
    <description>&lt;P&gt;Thank you Erich,&amp;nbsp; your response addressed the correct solution for this problem.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After I wrapped the ISR prototypes within an extern "C" block, the linker was able to generate proper handler addresses.&amp;nbsp; They were likely null before.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 31 Dec 2020 01:17:14 GMT</pubDate>
    <dc:creator>jmueckl</dc:creator>
    <dc:date>2020-12-31T01:17:14Z</dc:date>
    <item>
      <title>Conversion from C to C++ not working in MCUXpresso Configuration</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Conversion-from-C-to-C-not-working-in-MCUXpresso-Configuration/m-p/1205282#M59204</link>
      <description>&lt;P&gt;I used the MCUXpresso Configuration tool to generate a C project that created three PIT timers and an ADC instance for the FRDM-K64F development board.&amp;nbsp; I then wrote code in main() that implemented its functionality. In debug mode I verified that the breakpoints I inserted in each of the 3 PIT ISR's and the one ADC0 ISR cause the program to stop as each of the ISR's are triggered by the code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I likewise generated the same code for a new C++ project, but had to tweak some of the references in the ISR functions because the C++ configuration code that is generated is different. Without those changes the code would not compile.&amp;nbsp; However, the C++ version never calls the modified ISR's. In debug mode the breakpoints I inserted in the ISRs do not break.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are there any known bugs or troubleshooting steps I could take to help me determine the cause of this problem?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Dec 2020 15:32:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Conversion-from-C-to-C-not-working-in-MCUXpresso-Configuration/m-p/1205282#M59204</guid>
      <dc:creator>jmueckl</dc:creator>
      <dc:date>2020-12-30T15:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion from C to C++ not working in MCUXpresso Configuration</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Conversion-from-C-to-C-not-working-in-MCUXpresso-Configuration/m-p/1205308#M59206</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/180784"&gt;@jmueckl&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;have you implemented your ISRs marked with extern "C"?&lt;/P&gt;&lt;P&gt;Your interrupts have to use the C name mangling, not the C++ one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;</description>
      <pubDate>Wed, 30 Dec 2020 19:17:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Conversion-from-C-to-C-not-working-in-MCUXpresso-Configuration/m-p/1205308#M59206</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2020-12-30T19:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion from C to C++ not working in MCUXpresso Configuration</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Conversion-from-C-to-C-not-working-in-MCUXpresso-Configuration/m-p/1205353#M59211</link>
      <description>&lt;P&gt;Thank you Erich,&amp;nbsp; your response addressed the correct solution for this problem.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After I wrapped the ISR prototypes within an extern "C" block, the linker was able to generate proper handler addresses.&amp;nbsp; They were likely null before.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2020 01:17:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Conversion-from-C-to-C-not-working-in-MCUXpresso-Configuration/m-p/1205353#M59211</guid>
      <dc:creator>jmueckl</dc:creator>
      <dc:date>2020-12-31T01:17:14Z</dc:date>
    </item>
  </channel>
</rss>

