<?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>S12 / MagniV MicrocontrollersのトピックRe: Creating library file using libmaker tools in CW 5.1</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Creating-library-file-using-libmaker-tools-in-CW-5-1/m-p/1396217#M18384</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/13026"&gt;@ZhangJennie&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Jan 2022 15:31:14 GMT</pubDate>
    <dc:creator>KKumar</dc:creator>
    <dc:date>2022-01-07T15:31:14Z</dc:date>
    <item>
      <title>Creating library file using libmaker tools in CW 5.1</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Creating-library-file-using-libmaker-tools-in-CW-5-1/m-p/1394763#M18375</link>
      <description>&lt;P&gt;Hi NXP,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have some *.c file to put in a library file. i dont know create how to use libmaker tool in CW5.1.&lt;/P&gt;&lt;P&gt;Could you help me to make library file in CW 5.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 10:33:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Creating-library-file-using-libmaker-tools-in-CW-5-1/m-p/1394763#M18375</guid>
      <dc:creator>KKumar</dc:creator>
      <dc:date>2022-01-05T10:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: Creating library file using libmaker tools in CW 5.1</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Creating-library-file-using-libmaker-tools-in-CW-5-1/m-p/1396174#M18383</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/157949"&gt;@KKumar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;To create .lib file, you need follow the steps below.(please also refer the attached mylib project)&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;SPAN&gt;Create one project with wizard.(I use NE64 as target chip)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;change the file name main.c as the lib name (in sample is mylib.c)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;define the lib functions in mylib.c&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;add header file mylib.h in the project, and declare the prototype of the lib functions in it.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;add “#include mylib.h” in&amp;nbsp; mylib.c&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;delete the following files from the project: start12.c, datepage.c, *.prm, MC9S12NE64.h, MC9S12NE64.c, ansibi.lib.c&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Press ALT+F7, in “Target Setting”, select “Libmaker for HC12” as Linker in the second droplist. In “Libmaker for HC12”, name your Library Filename.(the sample use mylib.lib), Click OK to close this window.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Compile again. In “bin” folder of the lib project, you could find the lib file named “mylib.lib”&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The following is how to use the lib file in the project:&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;SPAN&gt;copy “mylib.lib” and “mylib.h” to your current project folder.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;import “mylib.lib” and “mylib.h” in your current project&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;add “#include "mylib.h"”in the main.c file&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;then you can use the lib functions in your current project code.&lt;/P&gt;
&lt;P&gt;Hope this will help you.&lt;/P&gt;
&lt;P&gt;Have a nice day,&lt;/P&gt;
&lt;P&gt;Jun Zhang&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 14:12:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Creating-library-file-using-libmaker-tools-in-CW-5-1/m-p/1396174#M18383</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2022-01-07T14:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Creating library file using libmaker tools in CW 5.1</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Creating-library-file-using-libmaker-tools-in-CW-5-1/m-p/1396217#M18384</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/13026"&gt;@ZhangJennie&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 15:31:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Creating-library-file-using-libmaker-tools-in-CW-5-1/m-p/1396217#M18384</guid>
      <dc:creator>KKumar</dc:creator>
      <dc:date>2022-01-07T15:31:14Z</dc:date>
    </item>
  </channel>
</rss>

