Jump to content
43oh

How to make a new project that uses Stellarisware in CCS?


Recommended Posts

I got Code Composer Studio 5 running under Windows.

(Installed the general CCS package, not one bundled with particular Stellarisware).

 

I can import and run the various example projects that are part of Stellarisware

(in this particular case, Stellarisware for the EKT-LM3S8962)

 

When I try to create a new project, where I would like to use the Stellarisware and other

libraries for the EKT-LM3S8962 (e.g. the OLED library) I run into lots of problems.

 

I tried creating my project with Project New

 

However the new project does not seem to know about any of the libraries.

It doesn't have the include directories set, it doesn't know where to find the libraries to

link with, it is basically useless. (While a totally bare project should be available, it should also give me the option of creating a project that is set up with their libraries.)

 

To make matters worse, the necessary settings are buried in half a dozen menus.

 

So far I haven't even found instructions that tell all the places one would have to fix things

in order to make a functional project.

http://www.ti.com/li...2b/spmu132b.pdf seems the closest - but this version of CCS doesn't offer some of the options it lists.

 

So is there some way to configure CCS so that a new project will be ready to use the device libraries?

 

Should one just ignore the new project menu, and clone existing projects in order to use Stellarisware?

 

Thank you

 

(Even more fun - there are multiple places in the project settings in CCS where you can define variables, but some places that use those variables don't pay attention to all the variable definitions. So the example projects define the same variable in multiple places, but if you try to copy them without knowing about the necessity for duplicate definitions in hidden places, you get something that looks like the example, but totally fails to work like the example. :angry: )

Link to post
Share on other sites

However the new project does not seem to know about any of the libraries.

It doesn't have the include directories set, it doesn't know where to find the libraries to

link with, it is basically useless. (While a totally bare project should be available, it should also give me the option of creating a project that is set up with their libraries.)

CCS5 is based on Eclipse. It may get some time getting used to, like any IDE. It is made to be very flexible.

To include your files, right click your project->Properties->Build->ARM Compler->Include options->Bottom box.

Click the + sign and include your project include/stellarisware. An example would be to look how the stellaris examples are configured.

Link to post
Share on other sites

A technique I use is to create a base project that has all the common files and configuration settings.. Once you are happy with all the configuration settings with include path and libraries save it and call it "basetemplate". When you want to start a new project, just right click on the "basetemplate" project in eclipse select "Copy". Next, right click and select "Paste", then just type in a new name for your next project.

 

You can even take the blinky project and use the same technique. Just copy it and paste it as the "basetemplate" project.

 

-rick

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...