I am using kinetis design studio v3.2 and kinetis k70
I downloaded baremetal examples for kinetis k70 from the following link
https://www.nxp.com/webapp/sps/download/preDownload.jsp
I imported the projects(e.g. helloworld)from the directory downloaded from above link as given in kinetis design studio user guide
Now if i build the project
Following warning comes :- Invalid project path: Include path not found (some path).
when i go to project properties
project > properties > c/C++ Build > Settings
I found following error
Orphaned configuration. No base extension cfg exists for com.freescale.arm.cdt.toolchain.config.arm.release.2020066743
so i followed the steps given on following page (Steps of the conversion by manual configuration of the toolchain)
CW MCU 10.6 Processor Expert projects migration into KDS 3.0.0
Now the following error is coming for helloworld example
fatal error: common.h: No such file or directory hello_world.c /k70-hello-world/Sources/hello_world line 7 C/C++ Problem
make: *** [Sources/hello_world/hello_world.o] Error 1 k70-hello-world C/C++ Problem
how to resolve the problem
I also tried the following document
http://www.nxp.com/assets/documents/data/en/user-guides/KDSPUG.pdf
but no dialog box apears after i click on Convert CodeWarrior project file..
Hello sameer,
I don't recommend you use the directly porting, because there always some error need to configuration.
You can create a new project on KDS, then copy the the function files from CW to KDS project , build ,
even there is error , it easy to find and fix.
It seems you just want use KDS to develop K70, so I recommend you can create Processor Expert project
on KDS, there is also example , they can directly run on KDS :
- When create project ,please choose "Processor Expert" :
- For example , you want configuration a GPIO, just double click "GPIO_LDD" , it will add to your project :
- Then click "help on component " -> Typical Usage :
Hope it helps
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thanks,
I also tried codewarrior or mcu v10.7 , there also errors were coming