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.

CCS/CCSTUDIO: CCS Studio V10.1.1.00004 and macOS Big Sur V 11.1

Part Number: CCSTUDIO

Tool/software: Code Composer Studio

E2E Support,

Several weeks ago the "Add File" entry in the CCS project context menu disappeared. I have attached a screen print of the project context menu at the end of this message. It was not apparent how to link a file to the project. I can move a file to the project through the file system but this means that I now have files in multiple directories. As a teacher, I know that this will lead to future problems. Adding a file via the link is preferable. After thinking about the project I contacted support. Support recommended reinstallation of CCS. I performed a fresh CCS install, however, the context menu did not reappear.

I decided that the details about the project must be in files in the project directory. I looked in the project "dot" files: .ccsproject, .cproject, .launches, .project, .settings. I "grep"-ed these files for the link keyword and found the link tag inside the .project file.

<link>
<name>LaunchPad.c</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/inc/LaunchPad.c</locationURI>
</link>

As a workaround, I used this entry as a prototype to add lines to the .project file to add a file link to the project. 

  1. Is there a way to link files through the context menu or another menu rather than the workaround that I found?
  2. Is there documentation on the contents of the ".project" file and the other "dot" files? 

Thank you for your assistance

Chad Baker
Professor Emeritus
Christian Brothers University
Electrical and Computer Engineering
650 East Parkway South
Memphis, TN 38104
Email: cmbaker@cbu.edu
Desk: (901)321-3440
FAX: (901)321-3402

 

Chad Baker
Professor Emeritus
Christian Brothers University
Electrical and Computer Engineering
650 East Parkway South
Memphis, TN 38104
Desk: (901)321-3440
Cell: (901)493-7460
FAX: (901)321-3402
  • Hi Chad,

    Note that Bug Sur is not officially supported by CCS 10.1.1. However, I tried to reproduce this with CCS 10.1.1.0004 in my MacBook Air running Big Sur 11.1, but the "Add Files" option is available in the context menu. I'm not sure what the issue is on your end. Can you try again using a clean new workspace folder?

    Chad Baker said:
    Is there a way to link files through the context menu or another menu rather than the workaround that I found?

    If you go to the 'Project' menu, do you see the "Add Files" option there? 

    Chad Baker said:
    Is there documentation on the contents of the ".project" file and the other "dot" files? 

    These files are typically not meant to be modified by the user directly. However, documentation for them likely exists in the standard Eclipse/CDT documentation. I'll see if I can find a link for you

    Thanks

    ki

  • Chad,

    We don't officially support Big Sur yet but I have been running it on an M1 based Air for a couple of weeks to try it out (mainly to see if it will work on the M1).

    I have not had any issues with "Add Files" disappearing.  Is it still present on the Project menu or is it gone from there as well?

    Another workaround is to drag files from Finder to the project.  That will trigger the same dialog that allows you to decide if you want to add or link the files:

    I would go to Window -> Perspective -> Customize Perspective

    Check if "Add Files..." is enabled here:

    Also check if this "Code Composer Studio Project" action set is enabled:

    Regards,

    John

  • John,

    The "Add File" is not in the Project dropdown. "Add File" was checked in the Menu Perspective. The Code Composer Studio Project box with the "Add File" was checked in the Action Set Availability.

    Thanks for the suggestions.

    Chad

  • Ki,

    I performed a fresh install. Nothing has changed

    Thanks for your suggestions.

    Chad

  • Chad,

    Does the drag and drop action work for you? (i.e. does it bring up that dialog with the option to add or link?)

    Regards,

    John

  • John,

    When I drag and drop, the file is physically moved into the project directory. There is not menu displayed to give the option to link rather than move.

    Thanks for the followup.

    Chad

  • John and Ki,

    I noticed that there were updates available for the CCS I just installed. I updated the CCS tool and like magic, the "Add File" item appeared in the context menu and also in the Project dropdown menu. And it works!

    Thanks for the assistance.

    Chad

  • Great!

    The update itself likely didn't fix it but the update process does trigger a clean/flush of some metadate the workspace uses.  Maybe that did the trick.

    Regards,

    John