Remove s32K146 variant handle from a module

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Remove s32K146 variant handle from a module

1,313件の閲覧回数
shubham_prajapati
Contributor I

Hello,

Currently I have 3 variants in project. For the MCU module.

Previously I was maintaining three configuration files (eg. MCU_Variant1_PBcfg, MCU_Variant2_PBcfg & MCU_Variant3_PBcfg). This was done by adding variant criterion option shown below:

shubham_prajapati_0-1641796392166.png

 

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:

 

shubham_prajapati_1-1641796554078.png

 

But I am getting the below errors. Can u please guide on this?

shubham_prajapati_3-1641796915680.png

 

Regards

Shubham

0 件の賞賛
返信
2 返答(返信)

1,285件の閲覧回数
namnguyenviet
NXP Employee
NXP Employee

Or you can try to disable the EcuCPostBuildVariant:

namnguyenviet_0-1642145215886.png

 

Best Regards,

Nam

 

0 件の賞賛
返信

1,288件の閲覧回数
namnguyenviet
NXP Employee
NXP Employee

Hello @shubham_prajapati,

If you want to keep only one variant, then you can remove unused post-build variant ref:

namnguyenviet_0-1642143588796.png

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:

1. Export the configuration from the variant which I want to keep to .epc files

2. Emove all of the modules and the .xdm files

3. Re-add all of the modules

4. Import the .epc files from step 1.

Best Regards,

Nam

 

0 件の賞賛
返信