<?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 about S32 Design Studio for ARM Version 2.2 add compilation options in S32K</title>
    <link>https://community.nxp.com/t5/S32K/about-S32-Design-Studio-for-ARM-Version-2-2-add-compilation/m-p/1441595#M14884</link>
    <description>&lt;P&gt;Hello everyone:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I &lt;SPAN&gt;&lt;SPAN class=""&gt;need&lt;/SPAN&gt; &lt;SPAN class=""&gt;some&lt;/SPAN&gt; &lt;SPAN class=""&gt;professional&lt;/SPAN&gt; &lt;SPAN class=""&gt;advice for S32K148-Pin100.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; When I developed the chip software.I need to&amp;nbsp;&lt;SPAN&gt; do the function of AB Swap,I know the 148 chip is not supported,so I want to achieve this function through software.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;But my colleague told me&amp;nbsp;S32 Design Studio for ARM Version 2.2 I&lt;/SPAN&gt;&amp;nbsp;could have added compilation options that fit AB Swap,&lt;SPAN&gt;but he forgot where to add them,&lt;/SPAN&gt;So I want to ask you how to add this compilation option.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Looking forward to your reply&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Kevin&lt;/P&gt;</description>
    <pubDate>Sat, 09 Apr 2022 11:37:24 GMT</pubDate>
    <dc:creator>Kevin-Roman</dc:creator>
    <dc:date>2022-04-09T11:37:24Z</dc:date>
    <item>
      <title>about S32 Design Studio for ARM Version 2.2 add compilation options</title>
      <link>https://community.nxp.com/t5/S32K/about-S32-Design-Studio-for-ARM-Version-2-2-add-compilation/m-p/1441595#M14884</link>
      <description>&lt;P&gt;Hello everyone:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I &lt;SPAN&gt;&lt;SPAN class=""&gt;need&lt;/SPAN&gt; &lt;SPAN class=""&gt;some&lt;/SPAN&gt; &lt;SPAN class=""&gt;professional&lt;/SPAN&gt; &lt;SPAN class=""&gt;advice for S32K148-Pin100.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; When I developed the chip software.I need to&amp;nbsp;&lt;SPAN&gt; do the function of AB Swap,I know the 148 chip is not supported,so I want to achieve this function through software.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;But my colleague told me&amp;nbsp;S32 Design Studio for ARM Version 2.2 I&lt;/SPAN&gt;&amp;nbsp;could have added compilation options that fit AB Swap,&lt;SPAN&gt;but he forgot where to add them,&lt;/SPAN&gt;So I want to ask you how to add this compilation option.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Looking forward to your reply&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Kevin&lt;/P&gt;</description>
      <pubDate>Sat, 09 Apr 2022 11:37:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/about-S32-Design-Studio-for-ARM-Version-2-2-add-compilation/m-p/1441595#M14884</guid>
      <dc:creator>Kevin-Roman</dc:creator>
      <dc:date>2022-04-09T11:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: about S32 Design Studio for ARM Version 2.2 add compilation options</title>
      <link>https://community.nxp.com/t5/S32K/about-S32-Design-Studio-for-ARM-Version-2-2-add-compilation/m-p/1441778#M14894</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;first of all, notice that we provide this application note including software example:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN12323.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/AN12323.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note-software/AN12323SW.zip" target="_blank"&gt;https://www.nxp.com/docs/en/application-note-software/AN12323SW.zip&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;S32K1xx does not support remapping. There are two options for A/B swap: either compile the code as position independent or track the application images and place them to correct flash area.&lt;/P&gt;
&lt;P&gt;Notice that S32 Design Studio supports only Position Independent Code (PIC) which can be used for small sections of code. But Position Independent Executable (PIE) is not supported – it’s not possible to create whole project as position independent. AN12323 mentions that IAR compiler can do that.&lt;/P&gt;
&lt;P&gt;This has been already solved on S32K3 devices – HW support was added for this.&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>Mon, 11 Apr 2022 05:16:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/about-S32-Design-Studio-for-ARM-Version-2-2-add-compilation/m-p/1441778#M14894</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2022-04-11T05:16:31Z</dc:date>
    </item>
  </channel>
</rss>

