AnsweredAssumed Answered

Header file confusion

Question asked by Jan Rychter on Oct 28, 2015
Latest reply on Oct 30, 2015 by Jorge_Gonzalez

I recently tried KDS for the first time (on a Mac). I tried recreating a simple K20 project that I had in CodeWarrior by creating a new project in KDS, then moving the C source files over. However, I encountered problems, and I am confused:

 

First, there is no derivative.h — I only got a MK20D5.h include. I changed my source file to include that directly, instead of derivative.h — is that the right thing to do?

 

Second, lots of defines seem to have vanished — basic things like PORTA_PCR18, or GPIOC_PSOR.

 

I proceeded to quickly diff the old MK20D5.h that I had in my CodeWarrior project and the new one in KDS and the results are even more confusing: the old version was labeled as "rev. 3.3", and the one in KDS is labeled as "rev 2.3". But they both share the same date. The changelog does not indicate any massive changes, and yet the files are very different.

 

What am I doing wrong?

Outcomes