<?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: How to use &amp;quot; try  catch() &amp;quot; of C++ on KDS 3.0 in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-use-quot-try-160-catch-quot-of-C-on-KDS-3-0/m-p/448787#M4435</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi fan xy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The GNU toolchain that KDS 3.0.0 uses does not support exception handling, this is because the libstdc++ built along with newlib-nano have exception handling disabled. You can find more information on this link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://answers.launchpad.net/gcc-arm-embedded/+question/230716" title="https://answers.launchpad.net/gcc-arm-embedded/+question/230716"&gt;Question #230716 : Questions : GCC ARM Embedded&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Carlos Mendoza&lt;/P&gt;&lt;P&gt;Technical Support Engineer&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Jun 2015 22:25:02 GMT</pubDate>
    <dc:creator>Carlos_Mendoza</dc:creator>
    <dc:date>2015-06-16T22:25:02Z</dc:date>
    <item>
      <title>How to use " try  catch() " of C++ on KDS 3.0</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-use-quot-try-160-catch-quot-of-C-on-KDS-3-0/m-p/448786#M4434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-objectid="11093" data-objecttype="3" href="https://community.nxp.com/people/BlackNight"&gt;Erich Styger&amp;nbsp;&amp;nbsp; &lt;/A&gt;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;KDS 3.0 , PE project or without PE project , kinetis K20X256vll7,&amp;nbsp; I want to use the exceptions detect&amp;nbsp; try catch() of C++,&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;could you tell me how to configure ?&lt;/P&gt;&lt;P&gt;The attachment is my project , and when i debug , it could not run in to the catch() , at the end, it show the error :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="36960_36960.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120392iFCAF1FCA314ECA71/image-size/large?v=v2&amp;amp;px=999" role="button" title="36960_36960.png" alt="36960_36960.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/268iFBD2CD7F2156A248/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank !&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338542"&gt;k20dx256vl7_cpp_pe_test1.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 02:30:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-use-quot-try-160-catch-quot-of-C-on-KDS-3-0/m-p/448786#M4434</guid>
      <dc:creator>Fan_xy</dc:creator>
      <dc:date>2015-06-11T02:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to use " try  catch() " of C++ on KDS 3.0</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-use-quot-try-160-catch-quot-of-C-on-KDS-3-0/m-p/448787#M4435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi fan xy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The GNU toolchain that KDS 3.0.0 uses does not support exception handling, this is because the libstdc++ built along with newlib-nano have exception handling disabled. You can find more information on this link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://answers.launchpad.net/gcc-arm-embedded/+question/230716" title="https://answers.launchpad.net/gcc-arm-embedded/+question/230716"&gt;Question #230716 : Questions : GCC ARM Embedded&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Carlos Mendoza&lt;/P&gt;&lt;P&gt;Technical Support Engineer&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 22:25:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-use-quot-try-160-catch-quot-of-C-on-KDS-3-0/m-p/448787#M4435</guid>
      <dc:creator>Carlos_Mendoza</dc:creator>
      <dc:date>2015-06-16T22:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to use " try  catch() " of C++ on KDS 3.0</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-use-quot-try-160-catch-quot-of-C-on-KDS-3-0/m-p/448788#M4436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank for your reply.&lt;/P&gt;&lt;P&gt;And&amp;nbsp; how we can change the newlib-nano to newlib ? or change libstdc++ to another , which build along wiht newlib ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank !&lt;/P&gt;&lt;P&gt;Fan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2015 03:10:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-use-quot-try-160-catch-quot-of-C-on-KDS-3-0/m-p/448788#M4436</guid>
      <dc:creator>Fan_xy</dc:creator>
      <dc:date>2015-06-24T03:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to use " try  catch() " of C++ on KDS 3.0</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-use-quot-try-160-catch-quot-of-C-on-KDS-3-0/m-p/448789#M4437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi fan,&lt;/P&gt;&lt;P&gt;if you remove --specs=nano.specs from the linker options, it will use the newlib.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2015 12:12:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-use-quot-try-160-catch-quot-of-C-on-KDS-3-0/m-p/448789#M4437</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2015-06-24T12:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to use " try  catch() " of C++ on KDS 3.0</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-use-quot-try-160-catch-quot-of-C-on-KDS-3-0/m-p/448790#M4438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello fan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having trouble starting a C++ project with KDS 3, PE, using a kinetis KE06Z.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help me with the steps or maybe posting a empty C++ project? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;CH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 23:51:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-use-quot-try-160-catch-quot-of-C-on-KDS-3-0/m-p/448790#M4438</guid>
      <dc:creator>carloshass</dc:creator>
      <dc:date>2015-09-23T23:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to use " try  catch() " of C++ on KDS 3.0</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-use-quot-try-160-catch-quot-of-C-on-KDS-3-0/m-p/448791#M4439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Confirmed, disabling newlib-nano in the linker settings allows exceptions to be caught and handled.&amp;nbsp; It's rather necessary to do this with certain packages such as Cereal for serialization.&amp;nbsp; There is a code size penalty, of course, but if you're doing C++ applications with exception handling, you probably want to be running on a 1MB+ flash part anyway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2017 23:05:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-use-quot-try-160-catch-quot-of-C-on-KDS-3-0/m-p/448791#M4439</guid>
      <dc:creator>dmarks_ls</dc:creator>
      <dc:date>2017-02-01T23:05:45Z</dc:date>
    </item>
  </channel>
</rss>

