-
Notifications
You must be signed in to change notification settings - Fork 100
K20 #204
base: master
Are you sure you want to change the base?
K20 #204
Conversation
The vector table looks completely different now, huh. |
Vector table depends on which chip I was reading the data sheet from. It is
|
@bharrisau the vector table should be the same across the entire K20 family according to the family reference manual (document number K20P48M50SF0RM, Rev. 2) |
I think it would be a good idea to as a rule include provenance information in the source so that we can confirm we're working from the same documentation. |
K20_72 has way more peripheral ISRs than the smaller iterations so it will
|
I don't understand why MCU manufacturers must all have 37 different names for their products. What is K20_72? |
Alright, indeed I found another "K20 sub-family reference manual" that describes a different set of products with more peripherals (document number K20P120M100SF2RM). Where did you find the name K20_72? |
Ahh, these names are listed on Freescale's products page it seems (but are naturally no where to be seen in the technical documentation). |
It is the frequency I think? But yeah, K20_72 is closer to K10_72 than
|
Make distinction between pins and GpioPins manifest in the types
@bharrisau how does the branch look now? Just need to find a way to set the |
From memory three things need to be abstracted from Zinc into a device Actual peripheral drivers are pretty constant for a vendor, with some The ARM vectors, peripherals and memory map are the simplest, with optional
|
It seems there are multiple variants of the K20. Duplicate and correct iomem and isr to reflect this.
Sorry, no review for a couple of days. Still in transit. |
Perhaps now would be a good time to address the peripheral definition problem. |
Can we move these vector definitions out and have the end application import them? I haven't thought it all through, but it would hopefully avoid all the cfgs. It is on my todo as part of the move to cargo with the flexible target specs (which I'm running behind on completing). |
@bharrisau in my opinion I think it's reasonable to give the user as much support in this area as we can. Linker scripts are a hassle when starting a project and very easy to get things wrong. It seems to me that |
Fix the IRQ vectors and rework the pin interface. @bharrisau do you remember where this vector table came from?