This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Code Composer Studio
Hello team,
I have faculty who are using MSP432P401R LaunchPad for the sophomore embedded systems class at Virginia Tech. They are having a smooth experience so far, however small hiccups on the CCS github integration.
One issue is when they import from their github repo, the first time they debug it throws a lot of non-compiler related errors, but the errors go away when entering debug session a second time. They told me their repo is located here: https://github.com/vt-ece2534-s18/
Another issue is when they want to delete a project from the workspace, the action does not delete the github repo link so it fails to clone a fresh repo. For example if the student wants to start over from the beginning. Is there an additional option they need to do to clear the github instance?
Lastly they want to have a script to standardize the linked file paths and environment variables when downloading these repos from github. Is there a way to do that?
Any documentation or wiki regarding the github options? Thanks!
Hi Mark,
Mark Easley said:One issue is when they import from their github repo, the first time they debug it throws a lot of non-compiler related errors, but the errors go away when entering debug session a second time. They told me their repo is located here: https://github.com/vt-ece2534-s18/
I imported one of the projects from the repo and it imports, builds and debugs fine. I didn't see any errors. Can you provide some more details about the errors? Please provide the exact error messages.
Also please provide which exact CCS version they are using. Provide the full CCS version number
Mark Easley said:Another issue is when they want to delete a project from the workspace, the action does not delete the github repo link so it fails to clone a fresh repo. For example if the student wants to start over from the beginning. Is there an additional option they need to do to clear the github instance?
I haven't used CCS with github much so I don't know personally. I will seek out expertise from folks who have
Mark Easley said:Lastly they want to have a script to standardize the linked file paths and environment variables when downloading these repos from github. Is there a way to do that?
I'm not sure if I understand what they are trying to do. If they are looking for ways to make it easier to set link resource path variables and environment variables on project import, they can look at using the macros.ini file:
http://processors.wiki.ti.com/index.php/Portable_Projects#Sharing_variables_file_2
Thanks
ki
Mark Easley said:Any documentation or wiki regarding the github options? Thanks!
There is a document on using CCS with Git
Thanks! It does look like it builds. Here are more details on their issue. Any suggestions?
To demonstrate the error messages we see during git import, download https://github.com/vt-ece2534-s18/msp432-ledbutton as a git import in CCS. This repo includes two projects, and one of them uses registers (msp432p4-ledbutton-registers). Eclipse shows 18 errors in the msp editor window, while the compiler runs fine and produces a working executable. The 'errors' are related to unrecognized macros such as BIT0 and P1OUT. So the problem is not a build error, but an eclipse anomaly. See below for a screen shot.
Mark Easley said:The 'errors' are related to unrecognized macros such as BIT0 and P1OUT. So the problem is not a build error, but an eclipse anomaly.
yes, exactly. It is a false positive from Eclipse CDT's static code analysis tool (CODAN):
https://help.eclipse.org/mars/index.jsp?topic=%2Forg.eclipse.ptp.pldt.doc.user%2Fhtml%2Fcodan.html
This has popped up before, usually with unrecognized macros also. Some people will tweak their CODAN settings to avoid the false positives.