Add support for Kinetis K60 CPUs and Eistec Mulle IoT board#2282
Add support for Kinetis K60 CPUs and Eistec Mulle IoT board#2282OlegHahm merged 2 commits intoRIOT-OS:masterfrom
Conversation
304422b to
6c4ee7d
Compare
|
Oh wow! Great! ☀️ |
|
@jfischer-phytec-iot I assigned you, I figured we can review each others' Kinetis code. (I am already assigned to #2265 ) |
|
As #2265 got merged, is this PR ready for review? |
|
It needs some more work still. I will ping back when it is ready, do you have time to do the review, @thomaseichinger ? |
|
I can do eyes only review for sure, regarding testing functionality I will have to let to you from a lack of hardware. |
6c4ee7d to
9ee00f8
Compare
|
I will unfortunately have no time before Saturday . The Embedded World is soon 😅 |
27c1207 to
696fe19
Compare
|
Updated code, ready for review, though waiting for #2393 in order to get the kinetis_common linker script included by the K60 linker scripts |
14a3263 to
00d3bd9
Compare
boards/mulle/Makefile.include
Outdated
There was a problem hiding this comment.
If the Mulle board has a FTDI chip this will be /dev/tty.usbserial*.
There was a problem hiding this comment.
Thank you for your help with OSX specifics.
|
Rebased and addressed all static-tests fails, except for the NEEDS SQUASHING part. |
|
I would suggest to match the |
|
@LudwigOrtmann I made a new attempt at a license pattern. This one is very specific and will only match the MK60DZ10 header. |
|
I approve =) |
|
@gebart Why you can not use MK60DZ10 with the MK60D10 header (possibly with adjustments) ? |
|
@jfischer-phytec-iot because Freescale switched a bunch of modules when they upgraded the silicon. (e.g. RNGA/RNGB, MCG acts differently, LLWU is different, PIT is missing the chaining functionality in 1.x etc. etc.) It will be alot of pain for no gain other than getting rid of the extra license pattern, since we already have permission to use the header. |
|
@gebart 😟 ok, I have looked at it with vimdiff, terrible... |
|
Travis finally decided to come through after a week of trying to build this. Everything is green now except for the NEEDS SQUASHING part. |
|
I guess nobody has hardware to test this except you @gebart ? |
|
I guess the "Request for Comments" can be removed? |
|
Doxygen looks fine. |
|
@LudwigOrtmann yeah, I guess so. Contact me (or [email protected]) if you are interested in these devices. |
|
Then please go ahead and squash (and remove the label). |
Tested on the following Freescale Kinetis K60 CPUs: - MK60DN512VLL10 The port should with a high probability also support the following variations of the above CPUs (untested): - MK60DN256VLL10 And possibly also: - MK60DX256VLL10 - MK60DX512VLL10 - MK60DN512VLQ10 - MK60DN256VLQ10 - MK60DX256VLQ10 - MK60DN512VMC10 - MK60DN256VMC10 - MK60DX256VMC10 - MK60DN512VMD10 - MK60DX256VMD10 - MK60DN256VMD10 Currently not working on the following CPUs (Missing PIT channel chaining necessary for kinetis_common/periph/timer implementation): - MK60DN256ZVLL10 - MK60DN512ZVLL10 - MK60DX256ZVLL10 - MK60DX512ZVLL10 - MK60DN512ZVLQ10 - MK60DN256ZVLQ10 - MK60DX256ZVLQ10 - MK60DN512ZVMC10 - MK60DN256ZVMC10 - MK60DX256ZVMC10 - MK60DN512ZVMD10 - MK60DX256ZVMD10 - MK60DN256ZVMD10 Regarding header files from Freescale: dist/tools/licenses: Add Freescale CMSIS PAL license pattern Redistribution is OK according to: https://community.freescale.com/message/477976?et=watches.email.thread#477976 Archive copy in case the above link disappears: https://web.archive.org/web/20150328073057/https://community.freescale.com/message/477976?et=watches.email.thread Applies to: - MK60DZ10.h (K60 variant)
Initially supports only Mulles with serial number > 220 (due to missing MK60DN256ZVLL10 support in k60). See also: https://github.com/RIOT-OS/RIOT/wiki/Board%3A-Mulle Signed-off-by: Joakim Gebart <[email protected]>
2dbb8ea to
4ae819c
Compare
|
Rebased and squashed, waiting for Travis |
|
⏳ |
9f184dd to
45554bf
Compare
|
All lights are green. |
Add support for Kinetis K60 CPUs and Eistec Mulle IoT board
This PR adds support for the Freescale Kinetis K60 CPUs and basic functionality of the Eistec Mulle IoT board.
This requires the- mergedkinetis_commonframework in #2265Depends on: #2605, #2321- temporarily disabled functionality depending on these until they are mergedTested on the following Freescale Kinetis K60 CPUs:
The port should with a high probability also support the following variations of the above CPUs (untested):
And possibly also (with some minor changes to ldscripts):
Currently not working on the following CPUs (Missing PIT channel chaining necessary for kinetis_common/periph/timer implementation):