I have coded up a KL03 and I have run out of GPIOs so I am going to move to another microcontroller. I would like to move within the Kinetis family and I am currently looking at the KL13. I chose this one because it has similar size, if you choose the BGA, more GPIOs and similar deep sleep power performance. I have coded up the KL03 using the SDK in KDS and I am wondering how portable that code is from one micro in the kinetis SDK to another. I understand that without seeing my code its a little hard to guess, but I was wondering if someone could offer some guidance on the subject. My hope is that I just have to download a version of the SDK for the KL13, change the pinmux.c file and any defines that point to hardware and be pretty close to a functional code base.
Hopefully that is clear.