This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LP-MSPM0G3519: Regarding Version Mismatch between Generated Code and Static Code for all MCAL Modules

Part Number: LP-MSPM0G3519

Tool/software:

Hello team,

we are using MCAL : MCAL_MSPM0_00.02.04.00 package

SDK : mspm0_sdk_2_04_00_06 version

we have noticed an common error in all MCAL modules w.r.t version of package verification, as per the release notes, the package version is 00_02_04 but in all the static source code of all Modules this version is not taken care

for example in CAN Module inside Can.h file at line number 120

/** \brief Driver Implementation Major Version.Used for version compatibiltiy
*check */
#define CAN_SW_MAJOR_VERSION (1U)
/** \brief Driver Implementation Minor Version.Used for version compatibiltiy
*check */
#define CAN_SW_MINOR_VERSION (2U)
/** \brief Driver Implementation Patch Version */
/* @} */
#define CAN_SW_PATCH_VERSION (0U)

here the version is 01_02_00 but it should be 00_02_04

/** \brief Driver Implementation Major Version.Used for version compatibiltiy
*check */
#define CAN_SW_MAJOR_VERSION (0U)
/** \brief Driver Implementation Minor Version.Used for version compatibiltiy
*check */
#define CAN_SW_MINOR_VERSION (2U)
/** \brief Driver Implementation Patch Version */
/* @} */
#define CAN_SW_PATCH_VERSION (4U)

The same issue is present in all the Modules

while checking version check in Can_Cfg.c file we get the error

/* Version checking */
#if ((CAN_SW_MAJOR_VERSION != (0U)) || (CAN_SW_MINOR_VERSION != (2U)))
#error "Version numbers of Can_Cfg.c and Can.h are inconsistent!"
#endif
#if ((CAN_CFG_MAJOR_VERSION != (0U)) || (CAN_CFG_MINOR_VERSION != (2U)))
#error "Version numbers of Can_Cfg.c and Can_Cfg.h are inconsistent!"
#endif

Can you Please Provide Your feedback

Thanking you.

Regards,

Pradeep R