Hello Harsh,
It mainly need change the user setting file , for example , under the AN2295, there is a file "AN2295_TWR_K20D50_cfg.h",
(AN2295SW\an2295sw\src\Kinetis\CommonSource\AN2295_TWR_K20D50_cfg.h)
you can refer to your board and chip to change it to you , for example , the UART port , the size of port ...
this file is refer to the chip of 128K size flash , you can change it to
#define KINETIS_FLASH FLASH_256K
and so on .
I recommend you first check whether the UART can work well ,:
UART_PutChar(0xd1);
then debug step by step , when encounter problem check the Reference manual fund the difference between the two chip , then change it .
And in the procedure , if you have any question , you can ask here without any hesitate.
Hope it helps!
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Have a great day,
Alice