<?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: S12Z weak function in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/S12Z-weak-function/m-p/1344887#M15618</link>
    <description>&lt;P style="background: white; margin: 0in 0in 11.25pt 0in;"&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333f48;"&gt;Hi Francois,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; margin: 0in 0in 11.25pt 0in;"&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333f48;"&gt;I’m sorry that it don’t help you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; margin: 0in 0in 11.25pt 0in;"&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333f48;"&gt;I made test for Kinetis MCU in the same CW IDE and it is supported. My understanding is this attribute is not supported by S12 Compiler. The ARM Kinetis use the GCC which supports this option. In case I take such suggestion how to solve it I will send you message.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; margin: 0in 0in 11.25pt 0in;"&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333f48;"&gt;Sorry I can’t help you more.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; margin: 0in 0in 11.25pt 0in;"&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333f48;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; margin: 0in 0in 11.25pt 0in;"&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333f48;"&gt;Stano.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Sep 2021 08:40:09 GMT</pubDate>
    <dc:creator>StanoA</dc:creator>
    <dc:date>2021-09-23T08:40:09Z</dc:date>
    <item>
      <title>S12Z weak function</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/S12Z-weak-function/m-p/1342651#M15612</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm working with S12ZVL devices, and i try to use "weak" function attribute.&lt;/P&gt;&lt;P&gt;I don't find any clear statement (or example) on S12Z, that this attribute is available or not.&lt;/P&gt;&lt;P&gt;Can you help me on this subject?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2021 08:37:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/S12Z-weak-function/m-p/1342651#M15612</guid>
      <dc:creator>francoisdugue</dc:creator>
      <dc:date>2021-09-20T08:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: S12Z weak function</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/S12Z-weak-function/m-p/1343871#M15613</link>
      <description>&lt;P style="background: white; margin: 0in 0in 11.25pt 0in;"&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333f48;"&gt;Hi Francois,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; margin: 0in 0in 11.25pt 0in;"&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333f48;"&gt;Sorry we haven’t code example for this attribute usage.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; margin: 0in 0in 11.25pt 0in;"&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333f48;"&gt;But the S12Z family of MCUs is supported by our CodeWarrior IDE (v11.1) and the “weak” attribute is supported also. You can see it in:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; margin: 0in 0in 11.25pt 0in;"&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333f48;"&gt;&lt;A href="https://www.nxp.com/docs/en/reference-manual/CWMCUGCCCMPREF.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/reference-manual/CWMCUGCCCMPREF.pdf&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; margin: 0in 0in 11.25pt 0in;"&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333f48;"&gt;on page 40.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; margin: 0in 0in 11.25pt 0in;"&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333f48;"&gt;The CW IDE 10.x is the predecessor of the CW IDE v11.1.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; margin: 0in 0in 11.25pt 0in;"&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333f48;"&gt;I hope it could help you in your task.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; margin: 0in 0in 11.25pt 0in;"&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333f48;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; margin: 0in 0in 11.25pt 0in;"&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333f48;"&gt;Stano.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 09:14:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/S12Z-weak-function/m-p/1343871#M15613</guid>
      <dc:creator>StanoA</dc:creator>
      <dc:date>2021-09-22T09:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: S12Z weak function</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/S12Z-weak-function/m-p/1343908#M15614</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thank you for this answer.&lt;/P&gt;&lt;P&gt;As your link is about Kinetis devices (not the same tool chain) i'll do some tests.&lt;/P&gt;&lt;P&gt;I'll keep you informed.&lt;/P&gt;&lt;P&gt;Thank you &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 10:13:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/S12Z-weak-function/m-p/1343908#M15614</guid>
      <dc:creator>francoisdugue</dc:creator>
      <dc:date>2021-09-22T10:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: S12Z weak function</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/S12Z-weak-function/m-p/1344044#M15615</link>
      <description>&lt;P&gt;You are welcome.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 12:40:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/S12Z-weak-function/m-p/1344044#M15615</guid>
      <dc:creator>StanoA</dc:creator>
      <dc:date>2021-09-22T12:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: S12Z weak function</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/S12Z-weak-function/m-p/1344195#M15616</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Unfortunately it doesn't work.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;=extern bool_t bTask_1_Init(void) __attribute__((weak, alias("bNullInit")));
&amp;gt;illegal or unsupported __attribute__&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe i miss something. Do you have any idea?&lt;/P&gt;&lt;P&gt;Thank in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 16:27:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/S12Z-weak-function/m-p/1344195#M15616</guid>
      <dc:creator>francoisdugue</dc:creator>
      <dc:date>2021-09-22T16:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: S12Z weak function</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/S12Z-weak-function/m-p/1344887#M15618</link>
      <description>&lt;P style="background: white; margin: 0in 0in 11.25pt 0in;"&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333f48;"&gt;Hi Francois,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; margin: 0in 0in 11.25pt 0in;"&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333f48;"&gt;I’m sorry that it don’t help you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; margin: 0in 0in 11.25pt 0in;"&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333f48;"&gt;I made test for Kinetis MCU in the same CW IDE and it is supported. My understanding is this attribute is not supported by S12 Compiler. The ARM Kinetis use the GCC which supports this option. In case I take such suggestion how to solve it I will send you message.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; margin: 0in 0in 11.25pt 0in;"&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333f48;"&gt;Sorry I can’t help you more.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; margin: 0in 0in 11.25pt 0in;"&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333f48;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; margin: 0in 0in 11.25pt 0in;"&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333f48;"&gt;Stano.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 08:40:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/S12Z-weak-function/m-p/1344887#M15618</guid>
      <dc:creator>StanoA</dc:creator>
      <dc:date>2021-09-23T08:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: S12Z weak function</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/S12Z-weak-function/m-p/1344919#M15619</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;So, we have the same conclusion.&lt;/P&gt;&lt;P&gt;S12Z toolchain doesn't support weak function attribute.&lt;/P&gt;&lt;P&gt;Thank you for your support.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 08:43:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/S12Z-weak-function/m-p/1344919#M15619</guid>
      <dc:creator>francoisdugue</dc:creator>
      <dc:date>2021-09-23T08:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: S12Z weak function</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/S12Z-weak-function/m-p/1344926#M15620</link>
      <description>&lt;P&gt;Thank you for your answer.&lt;/P&gt;
&lt;P&gt;You are welcome.&lt;/P&gt;
&lt;P&gt;Stano.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 08:47:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/S12Z-weak-function/m-p/1344926#M15620</guid>
      <dc:creator>StanoA</dc:creator>
      <dc:date>2021-09-23T08:47:28Z</dc:date>
    </item>
  </channel>
</rss>

