<?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>CodeWarrior Development Tools中的主题 Re: How to make Library using CW2.10(for MPC56XX)</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-make-Library-using-CW2-10-for-MPC56XX/m-p/1539474#M8883</link>
    <description>&lt;P&gt;Hi Luke,&lt;/P&gt;
&lt;P&gt;If you want to generate a library, please create the project for library by File-&amp;gt;New-&amp;gt; Empty Project. Then open Target Settings by 'ALT'+'F7' key and set the linker as 'PowerPC EABI' on 'Target Settings' panel. Also change the 'Project Type' as 'Library' on the 'EPPC Target' panel and type the name for output library.&lt;/P&gt;
&lt;P&gt;You can refer to the projects under the directory below. These projects are used to generate runtime libraries for MPC5:&lt;/P&gt;
&lt;P&gt;c:\Program Files (x86)\Freescale\CW for MPC55xx and MPC56xx 2.10\PowerPC_EABI_Support\Runtime\Project\&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Oct 2022 15:43:28 GMT</pubDate>
    <dc:creator>lukaszadrapa</dc:creator>
    <dc:date>2022-10-18T15:43:28Z</dc:date>
    <item>
      <title>How to make Library using CW2.10(for MPC56XX)</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-make-Library-using-CW2-10-for-MPC56XX/m-p/1539010#M8882</link>
      <description>&lt;P&gt;Dear Team&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;May I ask about the CW2.10 for MPC56XX?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to make Library using CW2.10(for MPC56XX)?&lt;/P&gt;
&lt;P&gt;I tried to follow using S08 or S12's community guidance but it is not working for CW2.10.&lt;/P&gt;
&lt;P&gt;I think that I took some mistake but I did not find the root cause.&lt;/P&gt;
&lt;P&gt;I wish to find some reference / example for it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 06:49:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-make-Library-using-CW2-10-for-MPC56XX/m-p/1539010#M8882</guid>
      <dc:creator>Luke_Chun</dc:creator>
      <dc:date>2022-10-18T06:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to make Library using CW2.10(for MPC56XX)</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-make-Library-using-CW2-10-for-MPC56XX/m-p/1539474#M8883</link>
      <description>&lt;P&gt;Hi Luke,&lt;/P&gt;
&lt;P&gt;If you want to generate a library, please create the project for library by File-&amp;gt;New-&amp;gt; Empty Project. Then open Target Settings by 'ALT'+'F7' key and set the linker as 'PowerPC EABI' on 'Target Settings' panel. Also change the 'Project Type' as 'Library' on the 'EPPC Target' panel and type the name for output library.&lt;/P&gt;
&lt;P&gt;You can refer to the projects under the directory below. These projects are used to generate runtime libraries for MPC5:&lt;/P&gt;
&lt;P&gt;c:\Program Files (x86)\Freescale\CW for MPC55xx and MPC56xx 2.10\PowerPC_EABI_Support\Runtime\Project\&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 15:43:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-make-Library-using-CW2-10-for-MPC56XX/m-p/1539474#M8883</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2022-10-18T15:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to make Library using CW2.10(for MPC56XX)</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-make-Library-using-CW2-10-for-MPC56XX/m-p/1539700#M8884</link>
      <description>&lt;P&gt;Hello Lukas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your reply.&lt;/P&gt;
&lt;P&gt;May I ask one more question?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I made Library but I have one more question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wish to locate the dedicated area about Library.&lt;/P&gt;
&lt;P&gt;I tried to use some pragma function like below.&lt;/P&gt;
&lt;P&gt;The function of same code file is possible to locate on my dedicated area.&lt;/P&gt;
&lt;P&gt;However, the library function is not located on my&amp;nbsp;dedicated area.&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;
&lt;P&gt;for your understanding, I have attached project...&lt;/P&gt;
&lt;P&gt;I wish to locate the function and library into 0x31000.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Luke_Chun_3-1666147134585.png" style="width: 646px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/197192i6761CA607FC1DB26/image-dimensions/646x134?v=v2" width="646" height="134" role="button" title="Luke_Chun_3-1666147134585.png" alt="Luke_Chun_3-1666147134585.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried to do like below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Luke_Chun_0-1666146739892.png" style="width: 661px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/197189i4B263FBF47968697/image-dimensions/661x147?v=v2" width="661" height="147" role="button" title="Luke_Chun_0-1666146739892.png" alt="Luke_Chun_0-1666146739892.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, only function of same file is located on 0x31000...&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Luke_Chun_1-1666146840622.png" style="width: 637px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/197190i462FDCBC6DF687FB/image-dimensions/637x99?v=v2" width="637" height="99" role="button" title="Luke_Chun_1-1666146840622.png" alt="Luke_Chun_1-1666146840622.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Luke_Chun_2-1666147107598.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/197191i581FFD266CEB6106/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Luke_Chun_2-1666147107598.png" alt="Luke_Chun_2-1666147107598.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;how to locate the library into 0x31000?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 02:42:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-make-Library-using-CW2-10-for-MPC56XX/m-p/1539700#M8884</guid>
      <dc:creator>Luke_Chun</dc:creator>
      <dc:date>2022-10-19T02:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to make Library using CW2.10(for MPC56XX)</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-make-Library-using-CW2-10-for-MPC56XX/m-p/1541700#M8888</link>
      <description>&lt;P&gt;Hi Luke,&lt;/P&gt;
&lt;P&gt;I found quick solution in AN4497:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_0-1666334656797.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/197623i9999FDB4671D5307/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_0-1666334656797.png" alt="lukaszadrapa_0-1666334656797.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I did quick test in your project, so I added this to the linker file:&lt;/P&gt;
&lt;P&gt;GROUP : { &lt;BR /&gt;.libcode (VLECODE) LOAD (0x00031000) : { &lt;BR /&gt;test.a (.text)&lt;BR /&gt;} &lt;BR /&gt;.libconst: &lt;BR /&gt;{&lt;BR /&gt;test.a (.rodata)&lt;BR /&gt;} &lt;BR /&gt;} &amp;gt; CCPBL_HAE_SECURITY_LIBRARY_Section&lt;/P&gt;
&lt;P&gt;And here's the result:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_1-1666334773060.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/197625i01B64B7AC6D64544/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_1-1666334773060.png" alt="lukaszadrapa_1-1666334773060.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 06:46:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-make-Library-using-CW2-10-for-MPC56XX/m-p/1541700#M8888</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2022-10-21T06:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to make Library using CW2.10(for MPC56XX)</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-make-Library-using-CW2-10-for-MPC56XX/m-p/1541765#M8889</link>
      <description>&lt;P&gt;Hi Lukas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your support.&lt;/P&gt;
&lt;P&gt;It is correct what I am needed!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 07:43:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-make-Library-using-CW2-10-for-MPC56XX/m-p/1541765#M8889</guid>
      <dc:creator>Luke_Chun</dc:creator>
      <dc:date>2022-10-21T07:43:21Z</dc:date>
    </item>
  </channel>
</rss>

