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.

how to switch from debug to release mode?

Other Parts Discussed in Thread: MSP430F5418A

Hi,

I am working on CCS v. 5.1.1.0031. In the debug mode everything is ok. But when  I am switching to the release mode CCS gives me an error :

"This project does not contain a buildable RTSC Configuration(.cfg) file" 

Is anybody can help, how to implement .cfg file in the release mode?

Thanks 

  • Hi Michael,

    normally, if there is a .cfg file for the project, it should be included in the build for debug and release mode.   This message does occur if a cfg file is not included in the project or the "exclude from build" option is selected for the build configuration.  I also note that you seem to have an older v5 version.  The latest release is v5.3.

    Can you please provide a few further details?   What target to you use?   Can you verify that you do indeed have a .cfg file and that in release mode the option to exclude if from the build is not selected?  With a few examples and RTSC projects I have so far only been able to reproduce this in the two cases mentioned - cfg file absent or excluded.  If possible and you could share the project offline (my ID is a link that can lead to a friend/converstaion request) that would be a way we could take a look.

    Best Regards,
    Lisa

  • Hello,
     
    Thanks for the quick response. Unfortunately I can't provide the project per our company policy. But I can give as many details as possible.
    1.  My target is MSP430F5418A processor.
    2. .cfg file includes in debug mode and I didn't find the place where I can check if it was excluded from the release mode
    3. .cfg file in the Project Explorer window is highlighted when I am in the debug mode and shadows in the release mode.
    4. CCS version which we use not post to be changed. We are finishing the project and I don't want to switch the tool at this time
     
    Thanks
  • Hi Michael,

    in release mode you say the cfg file is greyed.  If you right click on the cfg file, go to properties and select build ... is "Exclude resource from build"  selected?  See the screenshot.  I just tried another example/time and still can not make the cfg file automatically excluded or greyed. 

    Please keep us informed.

    Best Regards,

    Lisa

  • Thanks. It  works. I was looking for this box and couldn't find it.

    Again, thanks a lot.

     

  • Hi Michael,

    great, very glad to hear and thanks for the update.

    All the best with development.

    Best Regards,

    Lisa