cdch10 2 Posted October 28, 2011 Share Posted October 28, 2011 Hi there! I'm helping a friend to build a line follower robot for a school project, and I convinced him to use a Launchpad, the issue is that neither of us have a lot of experience programming microcontrollers in C. He has just learnt assembler ( :shock: ) and when I was in college I used only PIC's (and in most cases using PICBasic Pro :oops: ). So I thought using EasyMSP would help us out (the project due next week) to speed things up. But I can't seem to make it work, where do I need to add the libraries in Code Composer Studio, last night I tried to add a folder and then check the box for linking it to a system folder, then I wrote: #define MSP430G2553 #include "EasyMSP083BETA1" void main() { setup() //Your code... } But code composer gives me a message stating that cannot open "EasyMSP083BETA1". Help please! There's not much info yet on this subject... Regards, Christian Quote Link to post Share on other sites
MattTheGeek 99 Posted October 30, 2011 Share Posted October 30, 2011 Hi Hi there!I'm helping a friend to build a line follower robot for a school project, and I convinced him to use a Launchpad, the issue is that neither of us have a lot of experience programming microcontrollers in C. He has just learnt assembler ( ) and when I was in college I used only PIC's (and in most cases using PICBasic Pro ). So I thought using EasyMSP would help us out (the project due next week) to speed things up. But I can't seem to make it work, where do I need to add the libraries in Code Composer Studio, last night I tried to add a folder and then check the box for linking it to a system folder, then I wrote:#define MSP430G2553 #include "EasyMSP083BETA1" void main() { setup() //Your code... } But code composer gives me a message stating that cannot open "EasyMSP083BETA1".Help please! There's not much info yet on this subject...Regards,Christian Hi Christian,Code Composer Studio's compiler requires the full filename of the header, like "EasyMSP083BETA1.h". Also your missing a semicolon at setup(). However, the thing is, All the EasyMSP libraries are sadly out of date due to extreme circumstances that have happened recently in my life. However i'm getting back on track with it and rebuilding the entire library. And if you want, i can give out bits and pieces of the library for you.But i do hear you about the lack of documentation, it's a on going problem that i hope gets fixed in my first final release.Regards,MattTheGeek Quote Link to post Share on other sites
cdch10 2 Posted November 1, 2011 Author Share Posted November 1, 2011 HiHi there! I'm helping a friend to build a line follower robot for a school project' date=' and I convinced him to use a Launchpad, the issue is that neither of us have a lot of experience programming microcontrollers in C. He has just learnt assembler ( :shock: ) and when I was in college I used only PIC's (and in most cases using PICBasic Pro :oops: ). So I thought using EasyMSP would help us out (the project due next week) to speed things up. But I can't seem to make it work, where do I need to add the libraries in Code Composer Studio, last night I tried to add a folder and then check the box for linking it to a system folder, then I wrote: #define MSP430G2553 #include "EasyMSP083BETA1" void main() { setup() //Your code... } But code composer gives me a message stating that cannot open "EasyMSP083BETA1". Help please! There's not much info yet on this subject... Regards, Christian[/quote'] Hi Christian, Code Composer Studio's compiler requires the full filename of the header, like "EasyMSP083BETA1.h". Also your missing a semicolon at setup(). However, the thing is, All the EasyMSP libraries are sadly out of date due to extreme circumstances that have happened recently in my life. However i'm getting back on track with it and rebuilding the entire library. And if you want, i can give out bits and pieces of the library for you. But i do hear you about the lack of documentation, it's a on going problem that i hope gets fixed in my first final release. Regards, Matthew Burmeister (MattTheGeek) Developer/Owner of EasyMSP. Hi Matthew I have read what has happened to you recently, but you know that saying right? "It's always darker before dawn". The code actually I copied and pasted it from the documentation, but I think the problem I have is due to the code composer I understand it's not possible to have both the core edition and the one for the DSP's so I will check that tonight after work. About your work feel free for asking for help, may be I can help with the documentation, or I don't know if there are any future plan to translate your documentation (you wouldn't believe how rare is that someone speaks english down here). Thanks for all your work! Regards, Christian Quote Link to post Share on other sites
gwdeveloper 275 Posted November 1, 2011 Share Posted November 1, 2011 @cdch10 In CCS, make sure you've added the EasyMSP folder as an included folder. The best way I've found to set it up is leave EasyMSP in the installed folder, in my case it's C:\EasyMSP. Bring up your project's properties, right-click on the project name and Properties is at the bottom. On the left column, click C/C++ Build. Then under MSP430 Compiler, select 'include options'. Then just add the EasyMSP folder. Also, make sure to follow Matt's instructions. #include "EasyMSP083BETA1.h" and setup(); [attachment=0]easymsp.JPG[/attachment] oPossum, cdch10 and MattTheGeek 3 Quote Link to post Share on other sites
MattTheGeek 99 Posted November 2, 2011 Share Posted November 2, 2011 @cdch10 In CCS, make sure you've added the EasyMSP folder as an included folder. The best way I've found to set it up is leave EasyMSP in the installed folder, in my case it's C:\EasyMSP. Bring up your project's properties, right-click on the project name and Properties is at the bottom. On the left column, click C/C++ Build. Then under MSP430 Compiler, select 'include options'. Then just add the EasyMSP folder. Also, make sure to follow Matt's instructions. #include "EasyMSP083BETA1.h" and setup(); [attachment=0]easymsp.JPG[/attachment] Hmm... Perhaps i should add the install location to the system path... Quote Link to post Share on other sites
gwdeveloper 275 Posted November 2, 2011 Share Posted November 2, 2011 Hmm... Perhaps i should add the install location to the system path... Perhaps... but in CCS the included folder would still need to be added for each project. The best way might be to create it as a Linked Resource in the CCS Workspace preferences. Then you would just need a note on your wiki to add that to the CCS preferences. Then it would be available in all projects and not have to be declared in each project. [attachment=0]linkedres.JPG[/attachment] oPossum and cdch10 2 Quote Link to post Share on other sites
cdch10 2 Posted November 4, 2011 Author Share Posted November 4, 2011 @gwdeveloper Thanks a lot! I haven't had the chance to check that out, may be until the weekend . But I suppose it will work. Fortunately my friend got an extension for his deadline, so we can work on it this week end. Thank you both! Regards, Christian 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.