Hi Keerthana,
The project example you reference is for the older initial TWR-K40DX256 tower board.
To get a baremetal projects you can do the following:
From the http://www.freescale.com/tower web site you can find the Kinetis TWR-K40D100M product page by clicking plus logo next to "MCU and Processor Modules" then click on "Kinetis MCU Modules". Then click on the TWR-K40D100M.
Short cut link to TWR-K40D100M product page.
Now click on the Download tab, then scroll to bottom of page and Download the "Kinetis 100MHz Rev 2 Example Projects".
Kinetis 100MHz Rev 2 Example Projects.
- ZIP (722.5 kB) KINETIS512_V2_SC
If you want an RTOS that supports the TWR-K40D100M, you can get the MQX RTOS from http://www.freescale.com/MQX .
Regards,
David