Code not getting generate in Mcu_Cfg.c Mcu_PBcfg.c in S32K1XX 4.3 SMCAL RTM 1.0.5 AUTOSAR 4.3.1

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Code not getting generate in Mcu_Cfg.c Mcu_PBcfg.c in S32K1XX 4.3 SMCAL RTM 1.0.5 AUTOSAR 4.3.1

207 Views
Shubham_MQ
Contributor V

Hello,

MCAL module Code is not getting generate in Mcu_Cfg.c however it getting generate in Mcu_PBcfg.c in [McuS32K1XX AUTOSAR 4.3 SMCAL RTM 1.0.5 is AUTOSAR 4.3.1]

Is it okay to use Mcu_PBcfg.c directly in the code or we should expect to generate in Mcu_Cfg.c files as well.

 

Shubham_MQ_1-1742308239371.png

 

Shubham_MQ_0-1742306275758.png

This behavior is almost similar for other MCAL modules as well.

BR,

Shubham

0 Kudos
Reply
1 Reply

187 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Shubham_MQ

You can use the file Mcu_PBcfg.c with no problem. The "PB" suffix simply means Post Build, which comes from the AUTOSAR specification.

The Mcu_PBcfg file generates Postbuild structure configurations for the driver initalization, and the Mcu_Cfg generates the Precompile parameters and extern configurations for the driver.

Best regards,
Julián

 

0 Kudos
Reply