<?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 Create and add my libs to my project in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/Create-and-add-my-libs-to-my-project/m-p/973047#M5463</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;I'm new with NXP and S32 Design Studio.&lt;/P&gt;&lt;P&gt;My main goal is create one project where I can import my libs.&lt;/P&gt;&lt;P&gt;That is, I want to create&amp;nbsp;2 lib (for example for CAN communication and ADC, for S32K118) with all peripheral functions available (for example CAN-&amp;gt;MCR=.....). I can't do that and I have another difficult all libs created, are created with the name mylibrary.c/.h it is possible change the name? How use the #include if all of them have the same name?&lt;/P&gt;&lt;P&gt;In resume, my difficult are in create libraries for one particular processor with all the function/register previously defined and import them for my project.&lt;/P&gt;&lt;P&gt;I want to create my libs with the syntax previously developed and import for my projects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ricardo Velho&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Oct 2019 07:59:44 GMT</pubDate>
    <dc:creator>ricardo_velho</dc:creator>
    <dc:date>2019-10-11T07:59:44Z</dc:date>
    <item>
      <title>Create and add my libs to my project</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Create-and-add-my-libs-to-my-project/m-p/973047#M5463</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;I'm new with NXP and S32 Design Studio.&lt;/P&gt;&lt;P&gt;My main goal is create one project where I can import my libs.&lt;/P&gt;&lt;P&gt;That is, I want to create&amp;nbsp;2 lib (for example for CAN communication and ADC, for S32K118) with all peripheral functions available (for example CAN-&amp;gt;MCR=.....). I can't do that and I have another difficult all libs created, are created with the name mylibrary.c/.h it is possible change the name? How use the #include if all of them have the same name?&lt;/P&gt;&lt;P&gt;In resume, my difficult are in create libraries for one particular processor with all the function/register previously defined and import them for my project.&lt;/P&gt;&lt;P&gt;I want to create my libs with the syntax previously developed and import for my projects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ricardo Velho&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2019 07:59:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Create-and-add-my-libs-to-my-project/m-p/973047#M5463</guid>
      <dc:creator>ricardo_velho</dc:creator>
      <dc:date>2019-10-11T07:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: Create and add my libs to my project</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Create-and-add-my-libs-to-my-project/m-p/973048#M5464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, first of all - you need to select library project - if you like to build library:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/91711i35092211EDB5444E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output will be library archive libYourProjectName.a . You can use your library in other projects just by adding it in project settings:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/91757i112CCFA88B6A9DE4/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also don't forget add include path for your library header files.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2019 09:01:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Create-and-add-my-libs-to-my-project/m-p/973048#M5464</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2019-10-11T09:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: Create and add my libs to my project</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Create-and-add-my-libs-to-my-project/m-p/973049#M5465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jiri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;Ok, and what about the syntax, that is, if I create one lib for CAN communication. I don't have defined for example CAN0-&amp;gt;MCR. How can I import/add this into my library?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your collaboration.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ricardo&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2019 10:40:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Create-and-add-my-libs-to-my-project/m-p/973049#M5465</guid>
      <dc:creator>ricardo_velho</dc:creator>
      <dc:date>2019-10-11T10:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: Create and add my libs to my project</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Create-and-add-my-libs-to-my-project/m-p/973050#M5466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;register names and other definitions are in Cpu.h for particular MCU. Just include this header file in&amp;nbsp; your project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Easiest way how to setup all stuff is start with New S32DS Application project and switch it from executable target to library target:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/91265iAF718A9001826679/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2019 10:56:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Create-and-add-my-libs-to-my-project/m-p/973050#M5466</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2019-10-11T10:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Create and add my libs to my project</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Create-and-add-my-libs-to-my-project/m-p/973051#M5467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jiri,&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ricardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2019 15:10:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Create-and-add-my-libs-to-my-project/m-p/973051#M5467</guid>
      <dc:creator>ricardo_velho</dc:creator>
      <dc:date>2019-10-11T15:10:20Z</dc:date>
    </item>
  </channel>
</rss>

