<?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 Design Studioのトピックcpp project: &amp;quot;cannot find entry symbol Reset_Handler&amp;quot;</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/cpp-project-quot-cannot-find-entry-symbol-Reset-Handler-quot/m-p/411075#M3025</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using Kinetis Design Studio 3.0.0 IDE. I made cpp project and try to build it. And I see the following message:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...kds_3.0.0/toolchain/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld.exe: warning: cannot find entry symbol Reset_Handler; defaulting to 00004400&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My project has file startup.S with function Reset_Handler and with ISR vector table which use this function. I see that compiler created object file from my .S file and use it while try to link project.&lt;/P&gt;&lt;P&gt;The C project with the same startup.S file build fine and work.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I am missing for cpp project?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Maxim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jun 2015 15:55:20 GMT</pubDate>
    <dc:creator>maximkhomutov</dc:creator>
    <dc:date>2015-06-18T15:55:20Z</dc:date>
    <item>
      <title>cpp project: "cannot find entry symbol Reset_Handler"</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/cpp-project-quot-cannot-find-entry-symbol-Reset-Handler-quot/m-p/411075#M3025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using Kinetis Design Studio 3.0.0 IDE. I made cpp project and try to build it. And I see the following message:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...kds_3.0.0/toolchain/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld.exe: warning: cannot find entry symbol Reset_Handler; defaulting to 00004400&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My project has file startup.S with function Reset_Handler and with ISR vector table which use this function. I see that compiler created object file from my .S file and use it while try to link project.&lt;/P&gt;&lt;P&gt;The C project with the same startup.S file build fine and work.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I am missing for cpp project?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Maxim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 15:55:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/cpp-project-quot-cannot-find-entry-symbol-Reset-Handler-quot/m-p/411075#M3025</guid>
      <dc:creator>maximkhomutov</dc:creator>
      <dc:date>2015-06-18T15:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: cpp project: "cannot find entry symbol Reset_Handler"</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/cpp-project-quot-cannot-find-entry-symbol-Reset-Handler-quot/m-p/411076#M3026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It sounds like you have not used extern "C" for the header file declaration of Reset_Handler()?&lt;/P&gt;&lt;P&gt;Keep in mind that .c Files are compiled in C++ mode too.&lt;/P&gt;&lt;P&gt;An article related to that topic is here (written for an earlier version of KDS, but many things still apply):&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2014/10/25/c-with-kinetis-design-studio/" title="http://mcuoneclipse.com/2014/10/25/c-with-kinetis-design-studio/"&gt;C++ with Kinetis Design Studio | MCU on Eclipse&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 17:56:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/cpp-project-quot-cannot-find-entry-symbol-Reset-Handler-quot/m-p/411076#M3026</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2015-06-18T17:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: cpp project: "cannot find entry symbol Reset_Handler"</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/cpp-project-quot-cannot-find-entry-symbol-Reset-Handler-quot/m-p/411077#M3027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My Reset_Handler() is described in the same startup.S as ISR vector table which use this function. Where should I use extern "C"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made another experiment - removed Reset_Handler() from ISR table. And I got the same error!..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 07:34:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/cpp-project-quot-cannot-find-entry-symbol-Reset-Handler-quot/m-p/411077#M3027</guid>
      <dc:creator>maximkhomutov</dc:creator>
      <dc:date>2015-06-19T07:34:16Z</dc:date>
    </item>
  </channel>
</rss>

