<?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 Can Components from the Components Library be used in C++ projects? in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/Can-Components-from-the-Components-Library-be-used-in-C-projects/m-p/965395#M14541</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In S32 DS we created a project for the mpc5748g and selected C++ as the programming language.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/85822i2FF671DB42183A9E/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The project generates and compiles.&amp;nbsp; But it is not possible to add components from the Component Explorer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/85823iACECA1B3703E7CEE/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What needs to be done to use Components in a C++ project?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Jun 2019 12:13:21 GMT</pubDate>
    <dc:creator>michaelbinz</dc:creator>
    <dc:date>2019-06-10T12:13:21Z</dc:date>
    <item>
      <title>Can Components from the Components Library be used in C++ projects?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Can-Components-from-the-Components-Library-be-used-in-C-projects/m-p/965395#M14541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In S32 DS we created a project for the mpc5748g and selected C++ as the programming language.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/85822i2FF671DB42183A9E/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The project generates and compiles.&amp;nbsp; But it is not possible to add components from the Component Explorer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/85823iACECA1B3703E7CEE/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What needs to be done to use Components in a C++ project?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2019 12:13:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Can-Components-from-the-Components-Library-be-used-in-C-projects/m-p/965395#M14541</guid>
      <dc:creator>michaelbinz</dc:creator>
      <dc:date>2019-06-10T12:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Can Components from the Components Library be used in C++ projects?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Can-Components-from-the-Components-Library-be-used-in-C-projects/m-p/965396#M14542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;unfortunately, this is not possible. SDK is determined for C projects only and cannot be used for C++ projects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2019 08:09:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Can-Components-from-the-Components-Library-be-used-in-C-projects/m-p/965396#M14542</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2019-06-11T08:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Can Components from the Components Library be used in C++ projects?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Can-Components-from-the-Components-Library-be-used-in-C-projects/m-p/965397#M14543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i just checked the&amp;nbsp;S32_SDK_BETA_2.9.0.&amp;nbsp; I found&amp;nbsp;S32_SDK_BETA_2.9.0\platform\pal\ and a lot of drivers below.&amp;nbsp; After checking some of them (can and i2c), these look like classic drivers, that is, drivers that do not require Device Expert code generation.&amp;nbsp;&amp;nbsp;If I do not miss something, these drivers can be used from C++, since it is no problem to call C code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So&amp;nbsp;you mean that Processor Expert and the Components Library integrated in S32 DS cannot be used in C++, only classic drivers from the SDK can be used?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please clarify.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2019 15:11:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Can-Components-from-the-Components-Library-be-used-in-C-projects/m-p/965397#M14543</guid>
      <dc:creator>michaelbinz</dc:creator>
      <dc:date>2019-06-11T15:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Can Components from the Components Library be used in C++ projects?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Can-Components-from-the-Components-Library-be-used-in-C-projects/m-p/965398#M14544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in general, SDK code has never been tested in C++ projects and it is not determined to use in C++ project. I understand that C code can be called in C++ projects, but NXP cannot guarantee correct functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, you can try to use SDK drivers in your C++ project, but it is on your responsibility.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2019 07:22:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Can-Components-from-the-Components-Library-be-used-in-C-projects/m-p/965398#M14544</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2019-06-12T07:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Can Components from the Components Library be used in C++ projects?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Can-Components-from-the-Components-Library-be-used-in-C-projects/m-p/965399#M14545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that means that C++ is currently NOT supported as an implementation language on the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;mpc5748g?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Is there a plan to support C++ in the future?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Michael.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2019 12:02:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Can-Components-from-the-Components-Library-be-used-in-C-projects/m-p/965399#M14545</guid>
      <dc:creator>michaelbinz</dc:creator>
      <dc:date>2019-06-12T12:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: Can Components from the Components Library be used in C++ projects?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Can-Components-from-the-Components-Library-be-used-in-C-projects/m-p/965400#M14546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C++ project can be used in MPC5748G. I am only trying to explain that SDK drivers has never been tested in C++ projects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, you can write your own driver which is based on SDK driver using C++, but functionality of SDK driver is not guaranteed. From my point of view, it will work correct, but this is only my opinion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jun 2019 11:34:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Can-Components-from-the-Components-Library-be-used-in-C-projects/m-p/965400#M14546</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2019-06-13T11:34:13Z</dc:date>
    </item>
  </channel>
</rss>

