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/LAUNCHXL-CC2640R2: Can no longer save changes to project

Part Number: LAUNCHXL-CC2640R2

Tool/software: Code Composer Studio

Hi,

I've been away for about a month. Now I cannot save any changes in CCS Cloud. It tells me that "the resource is either linked or virtual."

Can anyone advise on how to fix this?

Regards,

ac

  • Andrew,

    It would help if you could let me know the name of the file you are editing.  I suspect that you have imported an example and are trying to edit one of the files in it.  The issue is likely that the file you are editing is inside the SDK and not your own source file.  A lot of the files for CC2640R2 are located inside the SDK itself.

    In the example below you can see the little arrow at the bottom of the file icon on the selected file hal_assert.c.   This means that the file is a reference and that it does not physically reside in my project.

    If I try to edit that file I will get:

    If you import the same project into CCS desktop you would be able to edit the file but should be careful as that file would be changed in the SDK itself and the next time you import an example that uses the file it will be the modified one.

    Regards,

    John

  • Hi JohnS,

    Thank you for your reply and my apologies for not providing more detail. Here is the background:

    The project that I'm working on is based on ProjectZero (for CC2640RsF) but it has now evolved a lot - I have added much, changed much. Right now, I'm trying to add a single line of code in main.c, right after the following:

    ProjectZero_createTask();
    ProjectZero_createServiceTask(); <<<---- cannot save after adding this...

    Kind regards,
    AC
  • I can't edit this so I'll reply to myself ---

    JohnS - I re-read your email and now I see that main.c is in fact linked. Is there any way that tI can edit this? To add another task it would be preferable to edit main.c. Otherwise, I would have to add the task creation within the body of the ProjectZero_createTask() function itself - kind of ugly...
  • Andrew,

    I won't be able to edit the file either. It is the SDK installation in the cloud. i.e. think of it as a shared image on the network.

    With the way the CC2640R2 examples and demos are structured I find that they are fine for running from the Cloud but to do anything more I find I have to use CCS Desktop.

    If you want to keep working in the cloud what you can do is download the file.
    -right click on the file in the project view and select download file. This will download it to your download folder

    Remove the existing one from your project.
    -right click on the file in the project view and select delete

    Upload the one you downloaded.
    -Go to the file menu and select Upload Local Files

    Now you will own the file as it is in your project folder.


    Regards,
    John
  • JohnS,

    Many thanks. I remember this now. I stepped away from this for a month and forgot the basics...

    REgards,
    ac
  • No problem. It is an odd scenario.