I'm trying to build the provided MSP430 Energy Meter Library from the TI website in CCS. The chip is MSP430AFE253 so I've been importing those projects into the workspace. I sucessfully load emeter-app-afe253, emeter-metrology-afe253, and emeter-toolkit-afe253 projects into the workspace.
When I try to build any of the projects I get several similar errors...
gmake:*** No rule to make target `C:/TI_Code_COmposer_Studio_5_2/ccsv5/eclipse/EMETER_SOURCES/emeter-metrology/emeter-background.c', needed by `emeter-background.obj'.
all the imported .c and .asm files are giving the same error in all of the projects.
How do I fix this so the projects build?
Can I confirm you import the projects as CCS projects? Ie PRoject->Import existing CCS/Eclipse project. Have you double checked your include paths and variables?
Please keep us informed.
I've imported the projects via Project>Import Existing CCS Eclipse Project. But instead of showing up in the workspace as a CCS taged folder they show up as a C taged folder. When I expand the folder for the project all of the .c, .h, .asm files have a yellow box with an explanation point in them, and I can't open the .c, .h, .asm files to view the code.
trying to view dds.c in the imported emeter-toolkit project gives an error...
Could not open the editor: Must specify a URI scheme:EMETER_SOURCES/emeter-toolkit/src/dds.c
I tried adding the folder paths via right clicking the project folder, selecting Properties>Build>MSP430 Compiler>Include Options... then I added the folder paths to the .c , .h and .asm files listed in the project. I clicked ok, then rebuilt the project. But I'm still getting the gmake:*** No rule to make target errors. and I still can't open the files without getting the Could not open the editor error.
I looked up how others deal with the gmake:*** No rule to make target error, but there is not a box to check for Create a subfolder for each eclipse project on the Import Existing CCS Eclipse Project page, or a box for Keep original location for each project.
Some have suggested updating CCS. I did that last night and still get the same errors. I'm using CCS ver. 5.2.1.00018.
I am going to move this thread to the msp forum for you as they wrote this example code and better know all the dependencies etc. Basically it seems the linked files all have invalid locations and there are dependencies/library projects that need building within the workspace etc.
Is there an update available regarding this customer's inquiry?
ACSC Digital Apps
The MSP430 Energy Meter Library was developed and currently supported using the IAR environment with the IAR compiler v6.x. (see app note http://www.ti.com/lit/an/slaa538/slaa538.pdf).
You can download IAR Embedded Workbench for MSP430 here http://www.ti.com/tool/iar-kickstart
Or if you'd rather you can try to port the code to CCS yourself. You can use the following user's guide to help your IAR to CCS migration: http://www.ti.com/lit/ug/slau157u/slau157u.pdf
If a post provides a solution to your question, please 'verify answer', thanks!
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.