• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Microcontrollers » MSP430™ Microcontrollers » MSP430 Ultra-Low Power 16-bit Microcontroller Forum » How to build the MSP430 Energy Meter Library in CCS???
Share
MSP430™ Microcontrollers
  • Forum
  • Announcements
  • E2E Wiki
Options
  • Subscribe via RSS
MSP430 Resources
  • MSP430 Product Folder
  • MSP-EXP430G2 - MSP430 LaunchPad Value Line Development kit
  • MSP430 Getting Started Guide
  • MSP430 Microcontroller Projects
  • More Resources >
  • Forums

    How to build the MSP430 Energy Meter Library in CCS???

    This question is not answered
    Randy Carpenter
    Posted by Randy Carpenter
    on Aug 29 2012 16:12 PM
    Prodigy220 points

    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?

    MSP430 Energy Meter Library gmake:*** No rule to make target No rule to make target
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Lisa TI
      Posted by Lisa TI
      on Aug 30 2012 07:56 AM
      Guru100185 points

      Hi Randy,

      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?

      http://processors.wiki.ti.com/index.php/Include_paths_and_options

      Please keep us informed.

      Best Regards,

      Lisa

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Randy Carpenter
      Posted by Randy Carpenter
      on Aug 30 2012 11:20 AM
      Prodigy220 points

      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.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Lisa TI
      Posted by Lisa TI
      on Aug 30 2012 12:56 PM
      Guru100185 points

      Hi Randy,

      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.

      Best Regards,

      Lisa

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Michael S
      Posted by Michael S
      on Sep 05 2012 16:34 PM
      Genius9710 points

      Hi team,

      Is there an update available regarding this customer's inquiry?

      Regards,

      Regards,

      Michael S.

      ACSC Digital Apps

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Derek Roosken
      Posted by Derek Roosken
      on Sep 10 2012 16:36 PM
      Prodigy680 points

      Hi Randy,

      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


      Regards,

      Derek

       

      If a post provides a solution to your question, please 'verify answer', thanks!

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    TI E2E™ Community
    • Support Forums
    • Blogs
    • Videos
    • Groups
    • Site Support & Feedback
    • Settings
    TI E2E™ Community Groups
    • TI University Program
    • Make the Switch
    • Microcontroller Projects
    • Motor Drive & Control
    Other Communities
    • Deyisupport
    • Designsomething.org
    • beagleboard.org
    • TI on Element 14
    • TI on TechXchangeSM
    Other Technical & Support Resources
    • WEBENCH® Design Center
    • Product Information Centers
    • Technical Documents
    • TI Design Network
    • TI Technical Articles
    • TI Training

    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.

    Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

    Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
    TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

    TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
    embedded processors, along with software, tools and the industry’s largest sales/support staff.

    © Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
    Trademarks | Privacy Policy | Terms of Use