kinetis: Unify default ISR definitions#6993
Conversation
|
dosn't it make sense to move the vector tables all together into the |
|
What was the conclusion of the similar question on stm32? I think it would be easier to do it like this first, then we can try to merge stuff later on when we have the CPUs merged. There are a few open PRs from me for new CPU support which I would prefer to merge first before doing any major refactoring. |
|
On the STM32 we never merged the vector files altogether, and never actually exported their headers somewhere... |
haukepetersen
left a comment
There was a problem hiding this comment.
Looks good and works fine on the mulle. Maybe there is optimization potential for the future to move all vector defs to kinetis_common, but ACK for now.
|
murdock is green -> go |
This moves the instantiation of the weak aliases for the dummy handler into a separate file that is shared between Kinetis CPUs in kinetis_common. A shared header vectors_kinetis.h is used to provide the declarations and documentation for all CPU specific ISRs. This makes it easier to keep the names of the ISR functions unified when the same hardware module is used in multiple CPUs.