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.

Change C6678 IPC MessageQ example to use separate configuration project

Hi

How do you convert the C6678 IPC MessageQ example to one with a separate configuration project? I have a configuration project I'd like to use but don't know what changes are required via the GUI to get it to use it instead of the .cfg thats in the same folder has the example project.

The project I'm trying to convert was generated by CCS with an internal .cfg.

Cheers2u

Eddie

  • Hi Eddie,

    You would exclude the .cfg that you do NOT want to be used:

    http://processors.wiki.ti.com/index.php/Projects_and_Build_Handbook_for_CCS#Exclude_files_from_build

    Note that when you exclude a file, it is excluded for just that build configuration. So you can have multiple build configurations, with different .cfg files excluded for each configuration.

    Thanks

    ki

  • Hi Ki

    Thanks for your help!

    Perhaps its because I'm using CCSv5, I was not able to find the "Resource Configurations", however, I was able to find the "exclude from build" which I selected for the .cfg shown below. 

    From the instructions in your post above: "right-click on the file or folder in the Project Explorer view and go to Resource Configurations->Exclude from Build"

    I also added the separate platform (C6674_EvmPlat) to my projects build dependencies. See pic below.

    Unfortunately I get the error 

    "Buildfile generation error occurred..

    This project does not contain a buildable RTSC Configuration (.cfg) file. In order for it to build, this project must contain one RTSC Configuration file that is not excluded from build."

    So its obvious I've successfully excluded the .cfg, but not the way that CCS likes me to.  :(

    Cheers

    Eddie

  • Hi Eddie,
    My apologies for the very late reply. I've been going though my inbox and noticed I have missed a lot of open threads. I'm trying to catch up on some of them.

    ah yes... since the project is created as a RTSC project, it must have an associated *.cfg file. I don't think there is a way to workaround this. I'll check with the experts tomorrow to confirm (and I've made a reminder to myself to not forget)!

    ki
  • Ki-Soo Lee said:
    ah yes... since the project is created as a RTSC project, it must have an associated *.cfg file. I don't think there is a way to workaround this. I'll check with the experts tomorrow to confirm (and I've made a reminder to myself to not forget)!

    I did confirm this today. And it is not possible to convert a RTSC project to a non-RTSC project. The cleanest (and safest solution) is to create a new non-RTSC project for your main one. Sorry for the inconvenience

    ki