MCAL - MCUSW_01_03_00_10_CONFIG(Jacinto-7)
In several MCAL drivers MemMap handling is wrong next example is from Can driver but this issue is present in this drivers also : Dio,EthTrcv,Gpt,Pwm,Spi,Wdg
In Can_Mcan.c implementation is like this :
CAN_FUNC_TEXT_SECTION static void Can_mcanSetUpTxMailboxFifoIntr(
CAN_FUNC_TEXT_SECTION is define in static Can_MemMap.h like :
#define CAN_FUNC_TEXT_SECTION
or like this
#define CAN_FUNC_TEXT_SECTION \
__attribute__ ((section ("CAN_TEXT_SECTION")))
In an project Can_MemMap.h is generated by the MemMap module and in this cannot be added define like e.g. CAN_FUNC_TEXT_SECTION.
If user want to place function code in an specific section need to configure this in MemMap module using the pragma.
CAN_FUNC_TEXT_SECTION should be removed and use the functionality provided by the MemMap module.