Hi Soli,
Will give it the college try on answering.
Changes are very minimal when porting from one version of a Kinetis device to another and especially when from the same family.
Steps to try:
- update the processor in the user_config.h (you did this so good job)
* note that in the MK40DZ10.h header that both old and new device are supported
** there is no specific file signal to pin mapping...it is inherently handled by how the device is bonded out (wired from silicon to pin)
- the *.mem file is just a text file. You can update it to match the memory configuration of the "new" device.
- lastly the *.lcf needs
* updating for the MEMORY sections to accomodate the ram and rom sizes of the "new" device.
** updating the __INTERNAL_SRAM_BASE and _SIZE in SECTIONS.
*** updating __FLASHX_SECT_SIZE potentially
Hope this helps.
Regards,
David