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.

Non-absolute location for CCS5 RTSC board configuration file

CCS 5.2.0.00069
SYS/BIOS 6.33.4.39
XDCTOOLS 3.23.3.53
CGT  C6000 7.3.5, legacy COFF output

I have custom RTSC configuration files for my various hardware configurations.

In CCS4, I could set the RTSC repository directory in an installation/PC independant way via the use of environment variables (under BIOS properties, CCS Build, RTSC, Other Repositories):

${SystemDrive}${homepath}/myrepository/packages


When I use the same path in CCS4 (under CCS General, RTSC, Other Repositories) it looks like it will search the correct directory, but when I build it it does not expand the repository information and just looks for the repository in "C:/myrepository/packages":

"C:/ccs5/xdctools_3_23_03_53/xs" --xdcpath="C:/ccs5/bios_6_33_04_39/packages;C:/myrepository/packages;C:/ccs5/ccsv5/ccs_base;C:/ccs5/pspdrivers_02_10_01/packages;" xdc.tools.configuro -o configPkg -t ti.targets.C674 -p MyBoardConfig -r release -c "C:/ccs5/ccsv5/tools/compiler/c6000_7.3.5" --compileOptions "-g --optimize_with_debug"  ../MyBiosConfig.cfg
js: "C:/ccs5/xdctools_3_23_03_53/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: Err/or: Can't find platform package MyBoardConfig


I tried moving the configuration into a project relative location via "${PROJECT_ROOT}\..\packages" which looks like it works (no errors on the console page), but the Problems page has 5 identical errors:


Description                                                                                                        Resource    Path                                 Location    Type
xdc.tools.configuro: Error: Can't find platform package MyBoardConfig    xdchelp       /MyBiosConfigProject   51               C/C++ Problem

How do I reference the board configuration from multiple projects from a non-absolute path under CCS5?

Thanks,
  Peter Steinberg

  • peter steinberg said:
    I tried moving the configuration into a project relative location via "${PROJECT_ROOT}\..\packages" which looks like it works (no errors on the console page), but the Problems page has 5 identical errors:

    Peter,

    Is it possible that the errors from the previous build did not get cleared from the Problems view? Could you select all the errors in the Problems view and delete them, and then clean and rebuild the project?

    I just tried setting a custom repository path relative to ${PROJECT_ROOT} and it picked it up and built it without errors.

     

  • That seems to be it.

    I don't know why the errors didn't get cleared when I did a new build.

    Thanks,

      Peter