igor 163 Posted October 20, 2012 Share Posted October 20, 2012 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. ) xtjacob 1 Quote Link to post Share on other sites
bluehash 1,581 Posted October 20, 2012 Share Posted October 20, 2012 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. Quote Link to post Share on other sites
gwdeveloper 275 Posted October 20, 2012 Share Posted October 20, 2012 It's really not that difficult once you get started with it. Yes, configuring all the included libraries and predefined symbols can be a bit frustrating but that fades. Hackaday had done a quick writeup on getting started with StellarisWare, http://hackaday.com/2012/10/14/using-stellarisware-with-the-launchpad/ igor 1 Quote Link to post Share on other sites
Rickta59 589 Posted October 21, 2012 Share Posted October 21, 2012 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 bluehash 1 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.