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.
Tool/software: Code Composer Studio
Is there any way of generating Sensor Controller Studio Project code during Code Composer Studio project build?
If that is not possible, one has either to commit all generated files or to generate them manually every time one needs to build the project or to simply trust that the latest generated files are correct.
Hi Arthur,
You can use the Sensor Controller Studio CLI to generate code from Sensor Controller Projects. This, combined with the pre-build step in CCS, you can generate SCS code from CCS.
Sensor Controller Studio CLI path: <SCS install dir>/bin/sensor_controller_studio_cli.exe
Example usage as CCS pre-build step, given default SCS install directory, SCS project in the CCS project, and output code to a folder in your CCS project:
C:/ti/Sensor Controller Studio/bin/sensor_controller_studio_cli.exe -g ${PROJECT_LOC}/my_scs_project.scs -o ${PROJECT_LOC}/scs
Edvard's solution is the way to go here.
Just wanted to add that the next version of Sensor Controller Studio's CLI will support "not touching" generated files if there are no code changes (only timestamp comment etc.). This should avoid that all generated files must be recompiled by the IDE. The new version is planned to be released mid. October 2018.
TIABO