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.

CCS/TMS570LS3137: Debug configuration initialization script location

Part Number: TMS570LS3137


Tool/software: Code Composer Studio

When specifying the location of an initialization script in a debug configuration, is it required to use an absolute path name, or is there a way to use a built-in variable to specify the location?  My initialization script is currently located in the same place as my CCS project files.

  • Ki,

    Thank you for your response.  The last line of the site you referenced states "Note: Project level variables like ${ProjName} are NOT supported in the debug configuration."

    The specific question I have is, in the "Initialization Script" field of the debug configuration dialog, what can I use that's not an absolute path name to reference my .js file?  I tried not using any path (just using MyProject.js) and that didn't work.  I tried using ${BuildArtifactFileBaseName}.js and that didn't work.  Is there some other built-in variable that I can use?  My .js file currently resides in the same folder as my project files, and has the same base file name as my project.

    Thank you.

  • Hi Steven,
    I just found out that the "Initialization Script" field has a limitation where that only an absolute path is supported. I'll file an enhancement request to add support for variables. But right now there is no workaround. Sorry.

    ki
  • Ki,
    Thank you for looking into this for me. I'm surprised (and disappointed) that this hasn't been addressed before. This is really making things difficult for me to generate a "portable" project that can be used by others on different computers.
    Thank you again for your help with this.
  • I made a request for this feature in our system. The tracking ID for this request is: CCSIDE-3582

    The "Initialization Script" field in the Debug Configurations is not commonly used, hence why there hasn't been too many requests for this. But for people who do use it, they have raised this issue. I agree this would be a good thing to have.