<?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: NXP S32K14x SDK startup code for C++ in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/NXP-S32K14x-SDK-startup-code-for-C/m-p/814850#M3655</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, S32 SDK for S32K14x does not support C++.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Rares&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Oct 2018 09:32:44 GMT</pubDate>
    <dc:creator>raresvasile</dc:creator>
    <dc:date>2018-10-26T09:32:44Z</dc:date>
    <item>
      <title>NXP S32K14x SDK startup code for C++</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/NXP-S32K14x-SDK-startup-code-for-C/m-p/814848#M3653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know if S32k14x SDK startup code supports C++ with IAR ARM compiler? I ran into a compile error,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;EM&gt;Fatal error[Lp049]: there was no reference to __iar_data_init3, but it is needed to call extra init routines&lt;/EM&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a global C++ object in the source code,&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #d4d4d4; background-color: #1e1e1e; font-weight: normal; font-size: 14px;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt;CdevSigma &lt;/SPAN&gt;&lt;SPAN style="color: #dcdcaa;"&gt;SigmaDsp0&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;dspdataConfigDsp0a, &lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;dspdataConfigDsp0a, &lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;dspHwConfigDsp0);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if remove it, the error is gone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the startup code and link file for IAR are used,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; S32SDK_S32K14x_RTM_2.0.0\platform\devices\S32K146\linker\iar\S32K146_128_flash.icf&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; S32SDK_S32K14x_RTM_2.0.0\platform\devices\S32K146\startup\iar\startup_S32K146.s&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; S32SDK_S32K14x_RTM_2.0.0\platform\devices\startup.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2018 08:59:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/NXP-S32K14x-SDK-startup-code-for-C/m-p/814848#M3653</guid>
      <dc:creator>leo_cheng</dc:creator>
      <dc:date>2018-10-22T08:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: NXP S32K14x SDK startup code for C++</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/NXP-S32K14x-SDK-startup-code-for-C/m-p/814849#M3654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got this answer from IAR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Add "--skip_dynamic_initialization" option during link process&lt;BR /&gt; 2. Add&amp;nbsp;&lt;SPAN style="font-size: 10.0pt; color: #333333; background: white;"&gt;c++ dynamic initialization in early part of Main():&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;#include "iar_dynamic_init.h"&lt;/P&gt;&lt;P&gt;void main()&lt;BR /&gt; {&lt;BR /&gt; ...&lt;BR /&gt; __iar_dynamic_initialization();&lt;BR /&gt; ...&lt;BR /&gt; }&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2018 04:05:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/NXP-S32K14x-SDK-startup-code-for-C/m-p/814849#M3654</guid>
      <dc:creator>leo_cheng</dc:creator>
      <dc:date>2018-10-26T04:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: NXP S32K14x SDK startup code for C++</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/NXP-S32K14x-SDK-startup-code-for-C/m-p/814850#M3655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, S32 SDK for S32K14x does not support C++.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Rares&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2018 09:32:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/NXP-S32K14x-SDK-startup-code-for-C/m-p/814850#M3655</guid>
      <dc:creator>raresvasile</dc:creator>
      <dc:date>2018-10-26T09:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: NXP S32K14x SDK startup code for C++</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/NXP-S32K14x-SDK-startup-code-for-C/m-p/1801631#M11822</link>
      <description>&lt;P&gt;How does it resolve?&lt;/P&gt;&lt;P&gt;I want to understand how c++ object initialisation happens after this?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 05:49:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/NXP-S32K14x-SDK-startup-code-for-C/m-p/1801631#M11822</guid>
      <dc:creator>iniya_anto</dc:creator>
      <dc:date>2024-02-05T05:49:48Z</dc:date>
    </item>
  </channel>
</rss>

