Thank you very much Jingjing, it compiled successfully but there is another thing I would like to ask you because after compile this project the console show the following lines if I try to program:
Using restricted address range 0x00000000 to 0x000FFFFF
Programming file C:\KINETIS_120MHZ_SC\build\cw\adc_demo\k70_adc_demo\MK70FN1M0_INTERNAL_RAM\k70-adc_demo.afx
Auto-detection is successful.
File is of type Elf Format.
0 Bytes Programmed, Check Restricted Address Range
Program Command Succeeded
And I have seen it before but don't know why this happens. I've tried changing from "internal RAM" to FLASH and external DDR without result. Also tried with OSJTAG, Multilink and even restarting my PC but nothing...
However, if I debbug the project it works fine! but I cannot program my chip, so it is kind of cumbersome.
Do you know how to avoid this in order to program normally??
Best regards!
Juan Nava