<?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: Mcl module Generated by tressos causing a syntax error in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Mcl-module-Generated-by-tressos-causing-a-syntax-error/m-p/1704266#M26037</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;A id="link_12" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/220746" target="_self" aria-label="View Profile of Ahmed_Attia"&gt;&lt;SPAN class=""&gt;Ahmed_Attia&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Could you check this part in makefile?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Disable_mcal_intermodule_asr.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/236300i4A2AFADF83FDEFC4/image-size/large?v=v2&amp;amp;px=999" role="button" title="Disable_mcal_intermodule_asr.png" alt="Disable_mcal_intermodule_asr.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I see a define macro here, so the part that you mentioned will be not activated.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please help me check this one.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Nam.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Aug 2023 09:41:29 GMT</pubDate>
    <dc:creator>NamLee</dc:creator>
    <dc:date>2023-08-14T09:41:29Z</dc:date>
    <item>
      <title>Mcl module Generated by tressos causing a syntax error</title>
      <link>https://community.nxp.com/t5/S32K/Mcl-module-Generated-by-tressos-causing-a-syntax-error/m-p/1696967#M25670</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I am configuring ADC with PWM as an external trigger source to start the conversion every 1 msec, and when I configured the Mcl the syntax error happened.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ahmed_Attia_0-1690921426133.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/234602i9A86803C217B0F29/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ahmed_Attia_0-1690921426133.png" alt="Ahmed_Attia_0-1690921426133.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;actually, I did not configure I2C and there is the same error in the Lin module in the same file I did not configure the Lin, and I did not include it in my project, so it is in file modules.h I2C and LIN Generated as&amp;nbsp;(STD_OFF)&lt;BR /&gt;when I have a workaround to overcome this error and it works but I think there is something is not right especially the files are generated files&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 20:31:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Mcl-module-Generated-by-tressos-causing-a-syntax-error/m-p/1696967#M25670</guid>
      <dc:creator>Ahmed_Attia</dc:creator>
      <dc:date>2023-08-01T20:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: Mcl module Generated by tressos causing a syntax error</title>
      <link>https://community.nxp.com/t5/S32K/Mcl-module-Generated-by-tressos-causing-a-syntax-error/m-p/1697598#M25710</link>
      <description>&lt;P&gt;Please &lt;STRONG&gt;Note&lt;/STRONG&gt; That&amp;nbsp;&lt;SPAN&gt;I am using an NXP S32K116 microcontroller and configuring ADC0 using the TRESOS tool with the SW32K1_RTD_4.4_1.0.1_HF01_D2209 package.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 11:58:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Mcl-module-Generated-by-tressos-causing-a-syntax-error/m-p/1697598#M25710</guid>
      <dc:creator>Ahmed_Attia</dc:creator>
      <dc:date>2023-08-02T11:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Mcl module Generated by tressos causing a syntax error</title>
      <link>https://community.nxp.com/t5/S32K/Mcl-module-Generated-by-tressos-causing-a-syntax-error/m-p/1704116#M26021</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A id="link_12" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/220746" target="_self" aria-label="View Profile of Ahmed_Attia"&gt;&lt;SPAN class=""&gt;Ahmed_Attia&lt;/SPAN&gt;&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;In the header files alway have information part guarantee about version/patch of the release package.&lt;/P&gt;
&lt;P&gt;I think there're some mistakes when you adding new modules, or when you try to import files into projects. Could you please check the file:&amp;nbsp;Flexio_Mcl_Ip_Cfg_Defines.h and share to me the source file version information part?&lt;/P&gt;
&lt;P&gt;This below belongs to my example with generate and compile completely no problem:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="generated_include_files.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/236248iEEE529FE9C689A9A/image-size/large?v=v2&amp;amp;px=999" role="button" title="generated_include_files.png" alt="generated_include_files.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="try_for_example.png" style="width: 933px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/236249i06D10A4056F81FA4/image-size/large?v=v2&amp;amp;px=999" role="button" title="try_for_example.png" alt="try_for_example.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="compile_done.png" style="width: 871px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/236251iCBB54338A2021565/image-size/large?v=v2&amp;amp;px=999" role="button" title="compile_done.png" alt="compile_done.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Could you try to build a simple example in the package?&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;Nam.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 07:20:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Mcl-module-Generated-by-tressos-causing-a-syntax-error/m-p/1704116#M26021</guid>
      <dc:creator>NamLee</dc:creator>
      <dc:date>2023-08-14T07:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: Mcl module Generated by tressos causing a syntax error</title>
      <link>https://community.nxp.com/t5/S32K/Mcl-module-Generated-by-tressos-causing-a-syntax-error/m-p/1704203#M26031</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/217474"&gt;@NamLee&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The file "Flexio_Mcl_Ip_Cfg_Defines.h" is generated from the MCL module.&lt;/LI&gt;&lt;LI&gt;Here's an example of code generated in Flexio_Mcl_Ip_Cfg_Defines.h:&lt;/LI&gt;&lt;/UL&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;#ifdef USE_LIN_MODULE&lt;BR /&gt;/* Check if the header file and the Flexio_Lin_Ip_CfgDefines header file have the same Autosar version */&lt;BR /&gt;#if ((FLEXIO_MCL_IP_CFG_DEFINES_AR_RELEASE_MAJOR_VERSION != FLEXIO_LIN_IP_CFG_DEFINES_AR_RELEASE_MAJOR_VERSION) || \&lt;BR /&gt;(FLEXIO_MCL_IP_CFG_DEFINES_AR_RELEASE_MINOR_VERSION != FLEXIO_LIN_IP_CFG_DEFINES_AR_RELEASE_MINOR_VERSION))&lt;BR /&gt;#error "AutoSar Version Numbers of Flexio_Mcl_Ip_Cfg_Defines.h and Flexio_Lin_Ip_CfgDefines.h are different"&lt;BR /&gt;#endif&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;UL&gt;&lt;LI&gt;The file checks if "USE_LIN_MODULE" is defined, but I don't have the LIN module integrated into my project. However, the macro "USE_LIN_MODULE" is always defined in "Modules.h" (also a generated file).&lt;/LI&gt;&lt;/UL&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;/**&lt;BR /&gt;* @brief This constant used for other modules to check if LIN is present in the project.&lt;BR /&gt;*/&lt;BR /&gt;#define USE_LIN_MODULE (STD_OFF)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;UL&gt;&lt;LI&gt;The issue here is that "USE_LIN_MODULE" is defined, but "FLEXIO_LIN_IP_CFG_DEFINES_AR_RELEASE_MAJOR_VERSION" and "FLEXIO_LIN_IP_CFG_DEFINES_AR_RELEASE_MINOR_VERSION" are not defined because I don't have the LIN module integrated.&lt;/LI&gt;&lt;LI&gt;the problem is "Flexio_Mcl_Ip_Cfg_Defines.h" always checks if the USE_LIN_MODULE is defined or not instead of checking if it is definied with STD_OFF&lt;/LI&gt;&lt;LI&gt;I believe "Flexio_Mcl_Ip_Cfg_Defines.h" should check if "USE_LIN_MODULE" is equal to "STD_ON" to enable the software version checking.&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Note same issue goes for I2C ,as module is also not integrated in my package&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Note&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;DIV&gt;&lt;BLOCKQUOTE&gt;&lt;DIV&gt;&lt;SPAN&gt;* &amp;nbsp; Autosar Version &amp;nbsp; &amp;nbsp; &amp;nbsp;: 4.4.0&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;* &amp;nbsp; Autosar Revision &amp;nbsp; &amp;nbsp; : ASR_REL_4_4_REV_0000&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;* &amp;nbsp; Autosar Conf.Variant :&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;* &amp;nbsp; SW Version &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; : 1.0.1&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;Note: Please try to build your example and configuring the necessary modules again without integrating Lin module and I2C module the problem will produced from your side.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;BR /&gt;Thank you for cooperation and waiting your response&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 08:49:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Mcl-module-Generated-by-tressos-causing-a-syntax-error/m-p/1704203#M26031</guid>
      <dc:creator>Ahmed_Attia</dc:creator>
      <dc:date>2023-08-14T08:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: Mcl module Generated by tressos causing a syntax error</title>
      <link>https://community.nxp.com/t5/S32K/Mcl-module-Generated-by-tressos-causing-a-syntax-error/m-p/1704236#M26034</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Ahmed_Attia,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;That's really good points then i will check it now. Thank you for pointing it out.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;"Note: Please try to build your example and configuring the necessary modules again without integrating Lin module and I2C module the problem will produced from your side"&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt; Have you tried to compile the example inside the RTD package?&lt;/P&gt;
&lt;P&gt;I've tried MCL example for K118, obviously not any I2C or LIN modules.&lt;/P&gt;
&lt;P&gt;I using same package as you:&amp;nbsp;SW32K1_RTD_4.4_1.0.1_HF01&lt;/P&gt;
&lt;P&gt;Could you help me to compile example in your side?&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Nam.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 09:06:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Mcl-module-Generated-by-tressos-causing-a-syntax-error/m-p/1704236#M26034</guid>
      <dc:creator>NamLee</dc:creator>
      <dc:date>2023-08-14T09:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Mcl module Generated by tressos causing a syntax error</title>
      <link>https://community.nxp.com/t5/S32K/Mcl-module-Generated-by-tressos-causing-a-syntax-error/m-p/1704266#M26037</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;A id="link_12" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/220746" target="_self" aria-label="View Profile of Ahmed_Attia"&gt;&lt;SPAN class=""&gt;Ahmed_Attia&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Could you check this part in makefile?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Disable_mcal_intermodule_asr.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/236300i4A2AFADF83FDEFC4/image-size/large?v=v2&amp;amp;px=999" role="button" title="Disable_mcal_intermodule_asr.png" alt="Disable_mcal_intermodule_asr.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I see a define macro here, so the part that you mentioned will be not activated.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please help me check this one.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Nam.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 09:41:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Mcl-module-Generated-by-tressos-causing-a-syntax-error/m-p/1704266#M26037</guid>
      <dc:creator>NamLee</dc:creator>
      <dc:date>2023-08-14T09:41:29Z</dc:date>
    </item>
  </channel>
</rss>

