kinetis: Generic ISR vector table for all Kinetis CPUs#7878
kinetis: Generic ISR vector table for all Kinetis CPUs#7878smlng merged 4 commits intoRIOT-OS:masterfrom
Conversation
dcc088f to
941dc5c
Compare
I agree, they go hand-in-hand and its fine to have this done here completely. |
|
I will close #7761 to focus on this instead. |
smlng
left a comment
There was a problem hiding this comment.
Tested with PhyNode (pba-d-01-kw2x) the only kinetis board I've available: works! Build size decreases by 8B, wasn't expecting any change though ... but hey 8B is 8B 😉
Side question why is MK22F10.h removed, not needed anymore?
|
|
ah thanks for the info, haven't read the (self explanatory) long commit message 😞 |
|
regarding #7761 (comment)
@smlng @haukepetersen are you fine with this if I keep the ISR names as proposed but make them all lowercase? |
|
I agree, lowercase would be consistent with RIOTs coding style and other ISR vectors, for instance the |
941dc5c to
21abdbe
Compare
|
Yes, that would be great! |
|
@haukepetersen @smlng I changed the names to lowercase now. |
081ab99 to
09b9af9
Compare
According to NXP material, there are no 100 MHz K22F parts in 144 pin packages, which is the reference manual that this header is supposed to correspond to. The header was originally included from Keil uVision Kinetis support packages. It is possible that this header was only used with engineering samples of the K22F.
The ISR names have been changed to match the name of the IRQ number they are servicing.
09b9af9 to
dea1676
Compare
|
rebased, squashed |
|
retested with PhyNode |
|
ACK & GO! |
Replaces #7761.
Use one generic ISR vector table with contents depending on what is available in the selected vendor header. The numbering is handled by the vendor header definition of
enum IRQn, so it will always match each CPU.This table was generated using an AWK script and then manually edited where the script generated the wrong preprocessor conditions.