<?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 How to integrate library file in a specific RAM area in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/How-to-integrate-library-file-in-a-specific-RAM-area/m-p/1594477#M9716</link>
    <description>&lt;P&gt;Hi Dear Colleagues,&lt;/P&gt;
&lt;P&gt;There is a requirement from my customer.&lt;/P&gt;
&lt;P&gt;Their end customer gave them a library:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="WeoWang_0-1675755062351.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/209901iA12B6BD9F96619B3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="WeoWang_0-1675755062351.png" alt="WeoWang_0-1675755062351.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And required them to put the library into a specific RAM area,&amp;nbsp; then, use MPU to protect this area.&lt;/P&gt;
&lt;P&gt;How to realize this requirement?&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Weiyou Wang&lt;/P&gt;</description>
    <pubDate>Tue, 07 Feb 2023 07:33:36 GMT</pubDate>
    <dc:creator>WeoWang</dc:creator>
    <dc:date>2023-02-07T07:33:36Z</dc:date>
    <item>
      <title>How to integrate library file in a specific RAM area</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/How-to-integrate-library-file-in-a-specific-RAM-area/m-p/1594477#M9716</link>
      <description>&lt;P&gt;Hi Dear Colleagues,&lt;/P&gt;
&lt;P&gt;There is a requirement from my customer.&lt;/P&gt;
&lt;P&gt;Their end customer gave them a library:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="WeoWang_0-1675755062351.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/209901iA12B6BD9F96619B3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="WeoWang_0-1675755062351.png" alt="WeoWang_0-1675755062351.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And required them to put the library into a specific RAM area,&amp;nbsp; then, use MPU to protect this area.&lt;/P&gt;
&lt;P&gt;How to realize this requirement?&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Weiyou Wang&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 07:33:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/How-to-integrate-library-file-in-a-specific-RAM-area/m-p/1594477#M9716</guid>
      <dc:creator>WeoWang</dc:creator>
      <dc:date>2023-02-07T07:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to integrate library file in a specific RAM area</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/How-to-integrate-library-file-in-a-specific-RAM-area/m-p/1595839#M9718</link>
      <description>&lt;P&gt;Hello Weiyou,&lt;/P&gt;
&lt;P&gt;If the library source code has been compiled with custom sections attributes, then they can easily place these sections&amp;nbsp; (e.g. myLibConst) into custom memory space.&lt;/P&gt;
&lt;P&gt;Anyway, gcc linker allows placement of any object code (.text) into a custom section. This way they could force to place library code/data/consts into a specitic memory custom sections even if the library object code was NOT compiled with specific placement for code/data/const.&lt;/P&gt;
&lt;P&gt;see e.g.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/HOWTO-Run-a-routine-from-RAM-in-S32-Design-Studio/ta-p/1113336" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/HOWTO-Run-a-routine-from-RAM-in-S32-Design-Studio/ta-p/1113336&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/HOWTO-Execute-a-library-function-from-RAM-memory-using-GNU-build/ta-p/1106568" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/HOWTO-Execute-a-library-function-from-RAM-memory-using-GNU-build/ta-p/1106568&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it helps.&lt;/P&gt;
&lt;P&gt;Stan&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 17:53:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/How-to-integrate-library-file-in-a-specific-RAM-area/m-p/1595839#M9718</guid>
      <dc:creator>stanish</dc:creator>
      <dc:date>2023-02-08T17:53:53Z</dc:date>
    </item>
  </channel>
</rss>

