Dear,
When the eth_43_PFE module was imported into the Davinci tool, the generated code failed to be compiled. See Figure 1 for details.
The error content is as follows:
/include/oal_mutex_autosar.h:660:22: error: 'SchM_Exit_Eth_43_PFE_ETH_EXCLUSIVE_AREA_173' undeclared here (not in a function); did you mean 'SchM_Exit_Eth_43_PFE_ETH_EXCLUSIVE_AREA_ID'?
But there's actually a definition for SchM_Exit_Eth_43_PFE_ETH_EXCLUSIVE_AREA_173. See Figure 2 for details
I wonder if there is something wrong with the writing. Macro functions cannot directly assign values to a variable.
RTD uses SW32G_RTD_4.4_S32CC_4.0.1
PFE uses pfe-drv_s32g_m7_mcal_1.0.0_qlp3
Please help to see how to solve it.
Thank you very much.
Best Regards.