<?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 define multiple variables together to a specified address in S32K</title>
    <link>https://community.nxp.com/t5/S32K/How-to-define-multiple-variables-together-to-a-specified-address/m-p/2032653#M45392</link>
    <description>&lt;P&gt;Hi HarryLe,&lt;/P&gt;
&lt;P&gt;I assume you are referning to S32 Design Studio for S32 Platform&lt;/P&gt;
&lt;P&gt;NXP GCC for Arm Release based on gcc 6.3/9.2.0/10.2&amp;nbsp; supports:&lt;/P&gt;
&lt;PRE&gt;#pragma GCC section (text|data|bss|rodata) ".name" pragma.&lt;/PRE&gt;
&lt;P&gt;This pragma allows to redefine standard sections by user defined section&lt;/P&gt;
&lt;PRE&gt;#pragma GCC section (text|data|bss|rodata) "default"&lt;/PRE&gt;
&lt;P&gt;This pragma restores standard section&lt;/P&gt;
&lt;P&gt;All the declaraions/code or data/const inbetween the pragmas will be placed to ".&lt;STRONG&gt;name&lt;/STRONG&gt;" section.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For more information please see the NXP GCC compiler e.g. releasenotes.pdf (attched) ("C:\NXP\S32DS.3.5\S32DS\build_tools\gcc_v9.2\gcc-9.2-arm32-eabi\releasenotes.pdf")&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Jan 2025 23:33:59 GMT</pubDate>
    <dc:creator>stanish</dc:creator>
    <dc:date>2025-01-22T23:33:59Z</dc:date>
    <item>
      <title>How to define multiple variables together to a specified address</title>
      <link>https://community.nxp.com/t5/S32K/How-to-define-multiple-variables-together-to-a-specified-address/m-p/2015645#M44352</link>
      <description>&lt;P&gt;use&amp;nbsp; &amp;nbsp;__attribute__((section(".xxxxxx")))&amp;nbsp; is ok&lt;/P&gt;&lt;P&gt;But it only works on one variable.&lt;/P&gt;&lt;P&gt;There are now thousands of variables&amp;nbsp; need to be addressed，How to define multiple variables together to a specified address&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 01:29:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-define-multiple-variables-together-to-a-specified-address/m-p/2015645#M44352</guid>
      <dc:creator>HarryLe</dc:creator>
      <dc:date>2024-12-18T01:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to define multiple variables together to a specified address</title>
      <link>https://community.nxp.com/t5/S32K/How-to-define-multiple-variables-together-to-a-specified-address/m-p/2032653#M45392</link>
      <description>&lt;P&gt;Hi HarryLe,&lt;/P&gt;
&lt;P&gt;I assume you are referning to S32 Design Studio for S32 Platform&lt;/P&gt;
&lt;P&gt;NXP GCC for Arm Release based on gcc 6.3/9.2.0/10.2&amp;nbsp; supports:&lt;/P&gt;
&lt;PRE&gt;#pragma GCC section (text|data|bss|rodata) ".name" pragma.&lt;/PRE&gt;
&lt;P&gt;This pragma allows to redefine standard sections by user defined section&lt;/P&gt;
&lt;PRE&gt;#pragma GCC section (text|data|bss|rodata) "default"&lt;/PRE&gt;
&lt;P&gt;This pragma restores standard section&lt;/P&gt;
&lt;P&gt;All the declaraions/code or data/const inbetween the pragmas will be placed to ".&lt;STRONG&gt;name&lt;/STRONG&gt;" section.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For more information please see the NXP GCC compiler e.g. releasenotes.pdf (attched) ("C:\NXP\S32DS.3.5\S32DS\build_tools\gcc_v9.2\gcc-9.2-arm32-eabi\releasenotes.pdf")&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 23:33:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-define-multiple-variables-together-to-a-specified-address/m-p/2032653#M45392</guid>
      <dc:creator>stanish</dc:creator>
      <dc:date>2025-01-22T23:33:59Z</dc:date>
    </item>
  </channel>
</rss>

