-
Bug
-
Resolution: Fixed
-
High
-
MCAL
-
MCAL-27342
-
-
-
Its observed that EthIf_Cbk.h is included twice in Eth_Rpc.c, one direct file inclusion and another inclusion from Eth_Priv.h
Eth_priv.h > Eth_ETHIF_CBK_HEADER > EthIf_Cbk.h (Plugin configuration parameter)
If the configuration is updated Eth_ETHIF_CBK_HEADER will include User_defined.h
1) Also, to build Eth_Priv.h itself not required in Eth_Rpc.c file. Unnecessary file inclusions should be removed.
2) Also, I have observed the same EthIf_Cbk.h file included in "mcusw/mcal_drv/mcal/EthTrcv/src/EthTrcv.c" file as well.
It should come from Plugin configuration same as in ETH Driver.