<?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 Re: How to assign data and function to specific section in S32DS for Arm in S32K</title>
    <link>https://community.nxp.com/t5/S32K/How-to-assign-data-and-function-to-specific-section-in-S32DS-for/m-p/1312561#M11433</link>
    <description>&lt;P&gt;Hi, you have actually answered yourself.&lt;/P&gt;
&lt;P&gt;There are no pragmas in GCC, you will have to add mentioned attribute before every function.&lt;/P&gt;</description>
    <pubDate>Fri, 23 Jul 2021 10:41:16 GMT</pubDate>
    <dc:creator>davidtosenovjan</dc:creator>
    <dc:date>2021-07-23T10:41:16Z</dc:date>
    <item>
      <title>How to assign data and function to specific section in S32DS for Arm</title>
      <link>https://community.nxp.com/t5/S32K/How-to-assign-data-and-function-to-specific-section-in-S32DS-for/m-p/1312377#M11432</link>
      <description>&lt;P&gt;Hello everyone:&lt;/P&gt;&lt;P&gt;I use S32K148 MCU ,and S32DS for Arm IDE V2.2.&lt;/P&gt;&lt;P&gt;I want to assign&amp;nbsp;data and code to specific sections.&lt;/P&gt;&lt;P&gt;At first, I use #pragma section it not work, S32DS ignore it (Unknow pragmas).&lt;/P&gt;&lt;P&gt;Then,I use&amp;nbsp;__attribute__ ((section(".mycode"))), It worked.But only one function was assigned to ".mycode" section below&amp;nbsp;__attribute__ ((section(".mycode"))) instruct.&lt;/P&gt;&lt;P&gt;My code like this：&lt;BR /&gt;__attribute__ ((section(".mycode")))&lt;/P&gt;&lt;P&gt;void AAA()&lt;BR /&gt;{&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;void BBB()&lt;BR /&gt;{&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;After link,Only function AAA in section ".mycode".Function BBB in default ".text" section.&lt;/P&gt;&lt;P&gt;How to assign all function in one module to a section with one instruction like #pragma section in other platform?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jul 2021 06:29:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-assign-data-and-function-to-specific-section-in-S32DS-for/m-p/1312377#M11432</guid>
      <dc:creator>hurongbo</dc:creator>
      <dc:date>2021-07-23T06:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign data and function to specific section in S32DS for Arm</title>
      <link>https://community.nxp.com/t5/S32K/How-to-assign-data-and-function-to-specific-section-in-S32DS-for/m-p/1312561#M11433</link>
      <description>&lt;P&gt;Hi, you have actually answered yourself.&lt;/P&gt;
&lt;P&gt;There are no pragmas in GCC, you will have to add mentioned attribute before every function.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jul 2021 10:41:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-assign-data-and-function-to-specific-section-in-S32DS-for/m-p/1312561#M11433</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2021-07-23T10:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign data and function to specific section in S32DS for Arm</title>
      <link>https://community.nxp.com/t5/S32K/How-to-assign-data-and-function-to-specific-section-in-S32DS-for/m-p/1313159#M11440</link>
      <description>&lt;P&gt;Thanks a lot.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 09:52:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-assign-data-and-function-to-specific-section-in-S32DS-for/m-p/1313159#M11440</guid>
      <dc:creator>hurongbo</dc:creator>
      <dc:date>2021-07-26T09:52:02Z</dc:date>
    </item>
  </channel>
</rss>

