<?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: Position independent code SD32K146 issues with static inline PCC_SetClockMode functions in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/Position-independent-code-SD32K146-issues-with-static-inline-PCC/m-p/2059513#M13176</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;as I posted in couple threads - the position independent code has very limited usage on embedded systems without OS. You can find useful details on this page -&amp;nbsp;&lt;A href="https://mcuoneclipse.com/2021/06/05/position-independent-code-with-gcc-for-arm-cortex-m/#more-28612" target="_blank"&gt;https://mcuoneclipse.com/2021/06/05/position-independent-code-with-gcc-for-arm-cortex-m/#more-28612&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Mar 2025 12:14:21 GMT</pubDate>
    <dc:creator>jiri_kral</dc:creator>
    <dc:date>2025-03-11T12:14:21Z</dc:date>
    <item>
      <title>Position independent code SD32K146 issues with static inline PCC_SetClockMode functions</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Position-independent-code-SD32K146-issues-with-static-inline-PCC/m-p/2038724#M13054</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;After reading through various information on forums, was able to create a bootloader and a position-independent firmware. -fPIC, .got, .got.plt, startup changes in assembly and c files are all done for VTOR relocation etc. The application firmware works when I dont use any NXP library sources. However, when I call the&amp;nbsp;PCC_SetClockMode a hard fault occurs. The only peculiar thing about this function is that it is "static inline" in nature. Are there any issues with position independence and "static inline" functions? Can someone help point the issue / solution for the same? Thanks a ton in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 16:55:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Position-independent-code-SD32K146-issues-with-static-inline-PCC/m-p/2038724#M13054</guid>
      <dc:creator>sudheendran</dc:creator>
      <dc:date>2025-02-05T16:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: Position independent code SD32K146 issues with static inline PCC_SetClockMode functions</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Position-independent-code-SD32K146-issues-with-static-inline-PCC/m-p/2039686#M13058</link>
      <description>&lt;P&gt;BTW, this is with the gcc tool chain. Is this a tool chain issue? Will IAR work? Please help / clarify. Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2025 04:00:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Position-independent-code-SD32K146-issues-with-static-inline-PCC/m-p/2039686#M13058</guid>
      <dc:creator>sudheendran</dc:creator>
      <dc:date>2025-02-07T04:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: Position independent code SD32K146 issues with static inline PCC_SetClockMode functions</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Position-independent-code-SD32K146-issues-with-static-inline-PCC/m-p/2059513#M13176</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;as I posted in couple threads - the position independent code has very limited usage on embedded systems without OS. You can find useful details on this page -&amp;nbsp;&lt;A href="https://mcuoneclipse.com/2021/06/05/position-independent-code-with-gcc-for-arm-cortex-m/#more-28612" target="_blank"&gt;https://mcuoneclipse.com/2021/06/05/position-independent-code-with-gcc-for-arm-cortex-m/#more-28612&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 12:14:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Position-independent-code-SD32K146-issues-with-static-inline-PCC/m-p/2059513#M13176</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2025-03-11T12:14:21Z</dc:date>
    </item>
  </channel>
</rss>

