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.
This behavior is almost similar for other MCAL modules as well.
BR,
Shubham
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