Hello !
I can see interrupt handler in SDk still have errata fix like this :
/* Add for ARM errata 838869, affects Cortex-M4, Cortex-M4F Store immediate overlapping
exception return operation might vector to incorrect interrupt */
#if defined __CORTEX_M && (__CORTEX_M == 4U)
__DSB();
#endif
Does it applicable to this type of MCU or it is Cortex4 only ?
As usually it is under ifdef flag, sometimes without.
Regards,
Eugene