Hi,
There is an issue in the file interrupt_manager_MPC57xx.c, line 90 at definition of the size of the array :
__VECTOR_RAM[ FEATURE_INTERRUPT_IRQ_MAX ]
it should be:
__VECTOR_RAM[ FEATURE_INTERRUPT_IRQ_MAX + 1 ]
From MPC5744P_features.h, the definition is as follow:
#define FEATURE_INTERRUPT_IRQ_MAX (SGEN_Err_IRQn)
Best regards,
Pat
Hi Pat,
Thanks for report. I'll create JIRA ticket for that. Anyway - technically it is not an issue. __VECTOR_RAM array has allocated size 0xC00 by linker script and there is no memory management. There is assert for index from 0 to <= FEATURE_INTERRUPT_IRQ_MAX. So, code should be working correctly. But the way how it is written is confusing.
Or are you facing some issue?
Jiri