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.

What happens in CCS inside when XGCONF opens a RTSC .cfg file.

Other Parts Discussed in Thread: CCSTUDIO

I am writing build script for a RTSC project.

To make it, I traced every steps from "xs xdc.tools.configuro"  to "build project" from the console log

But, I found that some prepared files are necessary before initiating "configuro".

These files (the files below .config/ folder) are created when XGCONF opens the .cfg file.

 

In "XGCONF User's guide",  I found the following sentence

  • Double-click on the RTSC configuration file. It takes a few seconds for XGCONF to open. During this time, the CCStudio status bar shows that the configuration is being processed and validated."

I wonder how I can initiate this step in command line without GUI.

  • The simplest RTSC project has only two source files - a configuration script and a C source file. Both these files could be edited in any text editor. We also offer XGCONF, a graphic environment that edits the configuration script. In the process, XGCONF creates the directory .config whose only purpose is to hold some temporary data that XGCONF needs. Other tools, and that includes configuro, do not use that directory in any way. The RTSC package that configuro uses to build the project is in Debug/configPkg, and configuro creates that package automatically.

    You can verify the above by closing XGCONF window, and then deleting the directory .config. Now, if you click on the project properties and then "Rebuild", you'll be able to see that configuro runs and builds the project without creating .config directory.

    So, which of these build flows are you trying to recreate? If you just want to run configuro on the command line, there are some examples on RTSCpedia that could help: http://rtsc.eclipse.org/docs-tip/Consuming_Configurable_Content/makefiles, and here is configuro documentation: http://rtsc.eclipse.org/cdoc-tip/index.html#xdc/tools/configuro/package.html.