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.

CCSv5 command line - creating projects

Other Parts Discussed in Thread: CCSTUDIO

1. eclipsec –noSplash will show splash anyway

2. com.ti.ccstudio.apps.projectCreate_stdMake is being flagged as deprecated but creates makefile project. New command com.ti.ccstudio.apps.projectCreate with suggested flag doesn't create makefile projects but rather managed make one for CCS. Are there any other options to be used in CCSv5 to create CDT-like makefile projects?

Thanks,

Eugene

  • Hi Eugene,

    Eugene K said:
    1. eclipsec –noSplash will show splash anyway

    I can't seem to reproduce this. The splash screen does not come up for me. I take it you are on the last v5.1.0.09000?

    Eugene K said:
    2. com.ti.ccstudio.apps.projectCreate_stdMake is being flagged as deprecated but creates makefile project. New command com.ti.ccstudio.apps.projectCreate with suggested flag doesn't create makefile projects but rather managed make one for CCS. Are there any other options to be used in CCSv5 to create CDT-like makefile projects?

    It is recommended to use the projectCreate command to create a managed make project and then add your own makefile to the project. What the suggest flag does is disable a project option to auto-generate the makefile since you will be supplying your own.

    Thanks

    ki

  • 1. Yes, I'm using latest CCSv5. You saw this for yourself last week.

    2. Ok, I see. But CCS adds -k to my build command. Could you please provide example on how to set up CCSv5 project with user makefile through command line? Unfortunately your Wiki is not up to date.

    Eugene

  • Eugene K said:
    2. Ok, I see. But CCS adds -k to my build command.

    You can override the default flags (like -k) with the  below option:

    -ccs.buildCommandFlags "<flags>"

    Eugene K said:
    Could you please provide example on how to set up CCSv5 project with user makefile through command line? Unfortunately your Wiki is not up to date.

    You can do something like:

    > eclipsec -noSplash -data <WORKSPACE> -application com.ti.ccstudio.apps.projectCreate -ccs.name <PROJECT NAME> -ccs.device <DEVICE NAME> -ccs.buildCommandFlags <FLAGS> -ccs.autoGenerateMakefiles false

    For the build command flags, you can use -f to specify your custom makefile, otherwise CCS will look for the 'makefile' in the project directory root folder.

    Hope this helps

    ki