Hi All,
I'm evaluating EKK- LM3S8962 kit. I'm able to run sample codes like blinky. But when I create new project as attached with this mail, I get error.
Please let me know wat is missing, even I've added startup_ccs.c file, but no use. Also please brief how important is this startup_ccs.c file in my program.
Regards
Mithun
Hi,
This is a path problem - to be fast solved you can go to Program | Properties | C/C++Build | TMS470Compiler and click on "Include Options" and there add the path to your /inc folder. But the best idea is to spend a little more time and read the introductory documents in your kit - there you will find some important hints how to build new projects without problems.
About startup_ccs.c: it is very important - contains start-up entry points, stack initialization, interrupt vectors and some other program initialization needed by the C environment.
Petrei
To expand on points brought up by Petrei, you can also start with an example project which has all of the include paths set based on the project location and then add your code to the project. You can do this by going to "Project -> Import Existing CCS Project." The projects can be found in the c:\StellarisWare\boards\<your board> directories.
Regards,
Craig
Craig Giglio94760start with an example project which has all of the include paths set based on the project location and then add your code to the project.
This is such good advice - have to wonder why TI doesn't more strongly/effectively push new users in this, "start with an example project" direction. Issue ain't going away - avoidance is poor "cure!" (forgive me - but likely true)
Poster is one of daily, ongoing, frustrated new users - painful to see this languish. Creating a new project from scratch should be avoided until users have much greater "hours of use" under their belts... TI needs to better approach/deal with this ongoing issue...
Hi Petrei,
Thanks for your inputs, as suggested by you I included the path C:\StellarisWare\inc but no use, still the error is same.
I'm able to run example programs. Can you please help me with document which tells how to create my own project in CCS for Stellaris and it should also tell what are paths to be added in the project. If document is not available please guide me yourself.
Mith
Your path should be C:/StellarisWare - take care at "\" or "/" - the IDE is based on Eclipse, which keeps the UNIX path convention, not MS.
To have more info, open a StellarisWare project for your board, select it in the left pane then go to Project | Properties and see what/how the problems are solved there.
Petrei.
Look at this link:
http://e2e.ti.com/support/microcontrollers/stellaris_arm_cortex-m3_microcontroller/f/471/t/94574.aspx
The second post in this thread has an download link to a document named "Stellaris_New_Project_Guide.ppt" which is very useful for you. Read it and apply it.
Hi Petrie,
Thanks again for quick reply, I changed it to
"${CG_TOOL_ROOT}/include""C:/StellarisWare/driverlib""C:/StellarisWare/inc"
But still my issue continues. I don't know what wrong I'm doing, please look how i've created the project and in the .C file i've copy pasted Blinky code.
File
New
ccs project (please see attachment)
Finish
Hi I'll go through the ppt and get back to you...
Thanks a lot, I really like your support.
I'm now able to build my code.