Could you please tell us why do you want to compare the difference?
I have to say I'm a little taken aback at the question. Is it not standard procedure for your developers to document changes? Particularly when the API changes?
Porting project from SDKv2.8 to SDKv12? How about still using SDKv2.8? Or create new project on SDKv12, then development based on it.
By 'project' I'm referring to my application, not the 'project' in the sense of the IDE files. The application began 10 years ago on ColdFire v1 with CodeWarrior, and then Kinetis with KDS. It's used PEx and KSDK in previous versions.
When I began evaluating the LPC55S69 to replace the MK22FN1M0AVLH12 (which is still expected to be unavailable for another year and a half, last I checked) 2.8.2 was the latest SDK version. Now I'm in the process of porting the hardware support portion of the application to work with MCUX SDK, and there's no reason to do that using an old version.
In the past I've spent far too much time tracking down bugs in SDK code only to find that they were fixed in later versions. Case in point, the Freescale bare metal USB driver had a major bug in its composite device support that gave me all sorts of grief. I tracked it down to an uninitialized variable. The bug was fixed in later versions.
I'm trying to avoid that sort of problem. Every time a new SDK version comes out, I at least need to know what bugs have been fixed to see if I need to upgrade, even if there's no need to use new features.
This is not just an academic exercise. I have thousands of deployed devices to support. I spent years thinking I had a problem in my code on one product and it turned out to be a silicon flaw relating to the MCU experiencing an overclock condition upon exiting from a low power mode. There was a fix documented in an obscure erratum that I'd never received a notification about. I've learned to stay vigilant about following all hardware errata and software changes.
If I have to diff the code between SDK versions I'll do that because my livelihood depends on it but it's a little absurd to have to do that with the output of a multi-billion dollar company. Surely the SDK changes must be tracked somewhere.
Scott