Hi,
Here you find the complete project. In the file kinetis_sysinit.c you find the declaration of the vector table. I found that that the vector table have a mistake, the last declaration is PORTD_IRQHandler instead of PORTB_IRQHandler but this device only support interrupts of the PORTB, but just a little change and this is fixed.
When you enable the interrupts of the PORTB and an interrupt occur the program jump to the routine in the Vector Table, in this case PORTB_IRQHandler. In the file LED_blink.c the interrupt service routine is declared and this is the one that will run each interrupt of the PORTB.
I hope this information can help you.
Regards,
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. It would be nice!
-----------------------------------------------------------------------------------------------------------------------