<?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: Remove s32K146 variant handle from a module in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Remove-s32K146-variant-handle-from-a-module/m-p/1399342#M13640</link>
    <description>&lt;P&gt;Or you can try to disable the EcuCPostBuildVariant:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="namnguyenviet_0-1642145215886.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/167638i28B281726E9BFA10/image-size/medium?v=v2&amp;amp;px=400" role="button" title="namnguyenviet_0-1642145215886.png" alt="namnguyenviet_0-1642145215886.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Nam&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jan 2022 07:27:01 GMT</pubDate>
    <dc:creator>namnguyenviet</dc:creator>
    <dc:date>2022-01-14T07:27:01Z</dc:date>
    <item>
      <title>Remove s32K146 variant handle from a module</title>
      <link>https://community.nxp.com/t5/S32K/Remove-s32K146-variant-handle-from-a-module/m-p/1396571#M13584</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Currently I have 3 variants in project. For the MCU module.&lt;/P&gt;&lt;P&gt;Previously I was maintaining three configuration files (eg. MCU_Variant1_PBcfg,&amp;nbsp;MCU_Variant2_PBcfg &amp;amp;&amp;nbsp;MCU_Variant3_PBcfg). This was done by adding variant criterion option shown below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shubham_prajapati_0-1641796392166.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/167117i5DF3E26AE3D29575/image-size/large?v=v2&amp;amp;px=999" role="button" title="shubham_prajapati_0-1641796392166.png" alt="shubham_prajapati_0-1641796392166.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I want to have just one configuration file (MCU_PBcfg) common for all the variants. To do this I have removed the variant option from the MCU module parameter as shown:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shubham_prajapati_1-1641796554078.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/167119i9F862B9EBDEA48D7/image-size/large?v=v2&amp;amp;px=999" role="button" title="shubham_prajapati_1-1641796554078.png" alt="shubham_prajapati_1-1641796554078.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I am getting the below errors. Can u please guide on this?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shubham_prajapati_3-1641796915680.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/167121i791D4DB12BDFF8EF/image-size/large?v=v2&amp;amp;px=999" role="button" title="shubham_prajapati_3-1641796915680.png" alt="shubham_prajapati_3-1641796915680.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shubham&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jan 2022 06:44:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Remove-s32K146-variant-handle-from-a-module/m-p/1396571#M13584</guid>
      <dc:creator>shubham_prajapati</dc:creator>
      <dc:date>2022-01-10T06:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Remove s32K146 variant handle from a module</title>
      <link>https://community.nxp.com/t5/S32K/Remove-s32K146-variant-handle-from-a-module/m-p/1399324#M13639</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/192701"&gt;@shubham_prajapati&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;If you want to keep only one variant, then you can remove unused post-build variant ref:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="namnguyenviet_0-1642143588796.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/167634i523712CA8855C6E4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="namnguyenviet_0-1642143588796.png" alt="namnguyenviet_0-1642143588796.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;However, my understanding is you want to remove the whole variant concept (as a result the configuration file name will not contain the variant name, e.g. Mcu_PBCfg.c instead of Mcu_PBCfg_VS_0.c). In that case, it would be more complicated, and as my experience, here are the steps I often do:&lt;/P&gt;
&lt;P&gt;1. Export the configuration from the variant which I want to keep to .epc files&lt;/P&gt;
&lt;P&gt;2. Emove all of the modules and the .xdm files&lt;/P&gt;
&lt;P&gt;3. Re-add all of the modules&lt;/P&gt;
&lt;P&gt;4. Import the .epc files from step 1.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Nam&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 07:07:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Remove-s32K146-variant-handle-from-a-module/m-p/1399324#M13639</guid>
      <dc:creator>namnguyenviet</dc:creator>
      <dc:date>2022-01-14T07:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Remove s32K146 variant handle from a module</title>
      <link>https://community.nxp.com/t5/S32K/Remove-s32K146-variant-handle-from-a-module/m-p/1399342#M13640</link>
      <description>&lt;P&gt;Or you can try to disable the EcuCPostBuildVariant:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="namnguyenviet_0-1642145215886.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/167638i28B281726E9BFA10/image-size/medium?v=v2&amp;amp;px=400" role="button" title="namnguyenviet_0-1642145215886.png" alt="namnguyenviet_0-1642145215886.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Nam&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 07:27:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Remove-s32K146-variant-handle-from-a-module/m-p/1399342#M13640</guid>
      <dc:creator>namnguyenviet</dc:creator>
      <dc:date>2022-01-14T07:27:01Z</dc:date>
    </item>
  </channel>
</rss>

