Hello Srinivasa Rao Wunnimani
Well i have done such a job while porting for K20 by taking reference of K22. Changed pre-processors and added related link in "device/fsl_device_registers.h", changed startup files and etc as explained in chapter 10.
You can change pre-processor from:
project property-> c/c++ build ->setting -> cross ARM c compiler -> Preprocessor ->debug symbols.
- Double click on current CPU name and edit it.
See attachment for reference..
Let me know if any...
----------------------------------------------------------------------------------------------------------------------
Please Mark it as correct if this post answers you question
---------------------------------------------------------------------------------------------------------------------
Thanks & regards
Harsh