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
I am trying to set a relative path in the "Initialization Script" section of the Debug configuration in CCS v8.I have read through this article and it seems to be possible http://software-dl.ti.com/ccs/esd/documents/ccs_portable-projects.html#debug-configurations
I have tried many permutations of the methods listed with no success.
${build_var:/PROJECT_LOC}/debug_script.js
${build_var:/PROJECT_LOC}/myProjectName/debug_script.js
Hello,
JohnnyW said:${build_var:/PROJECT_LOC}/debug_script.js
Remove the first forward slash:
${build_var:PROJECT_LOC}/debug_script.js
Thanks
ki
hmm... that syntax should work.
Can you try:
${workspace_loc:/myProjectName/debug_script.js}
True. But the below should work:
${build_var:PROJECT_LOC}/debug_script.js
Can you confirm that the desried project (with the script) is ACTIVE in the Project Explorer when trying specify the script location, and when the launch configuration is launched?
In my screenshot below, note that the project is ACTIVE (in bold) in the Project Explorer when I specify the Initialization Script and launch the debug configuration. This works for me - the contents of init.js are executed.
Ah, I see that you are using an older CCS. When I re-read your first post, you explicitly mention CCSv8. I missed that. Older versions of CCS does not support dynamic variables in the debug configuration. You must use CCSv9.2.0 or later.
ki