Other Parts Discussed in Thread: CCSTUDIO
I encountered some problem on compiling the psp example--C:\dvsdk_1_11_00_00\pspdrivers_1_10_00\packages\ti\sdo\pspdrivers\system\dm6437\bios\evmDM6437\i2c\build\dm6437_evm_i2c_st_sample.pjt
when I open "dm6437_evm_i2c_st_sample.tcf", there is something wrong occured, and I modified the line
utils.importFile("ti/sdo/pspdrivers/system/dm6437/bios/evmDM6437/i2c/dm6437_i2c0.tci"
to
utils.importFile("dm6437_i2c0.tci").
then it works.
But when I compling the project, the error message display as follow:
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------- dm6437_evm_i2c_st_sample.pjt - Debug --------------------
[dm6437_evm_i2c_st_sample.cfg] "C:\dvsdk_1_11_00_00\xdc_2_95_02\xs.exe" xdc.tools.configuro.ccs --xdcpathsfile="xdcpaths.dat" -pti.platforms.evmDM6437 -rdebug -w --tcf -t ti.targets.C64P -c "C:/CCStudio_v3.3/C6000/cgtools" --bios "C:/CCStudio_v3.3/bios_5_31_08" -o "xdcconfig" dm6437_evm_i2c_st_sample.cfg
Info: running XDC configuration using package path:
C:\edma3_lld_1_05_00\packages
Z:\pspdrivers\pspdrivers_\packages
C:\CCStudio_v3.3\bios_5_31_08\packages
C:\dvsdk_1_11_00_00\xdc_2_95_02\packages
The configuration step is now running:
configuring dm6437_evm_i2c_st_sample.x64P from package/cfg/dm6437_evm_i2c_st_sample_x64P.cfg ...
js: "C:/dvsdk_1_11_00_00/xdc_2_95_02/include/utils.tci", line 488: exception from uncaught JavaScript throw: Error: Can't find import file: 'dm6437_i2c0.tci' (not found along 'C:\dvsdk_1_11_00_00\pspdrivers_1_10_00\packages\ti\sdo\pspdrivers\system\dm6437\bios\evmDM6437\i2c\build/;.;C:/edma3_lld_1_05_00/packages;Z:/pspdrivers/pspdrivers_/packages;C:/CCStudio_v3.3/bios_5_31_08/packages;C:/dvsdk_1_11_00_00/xdc_2_95_02/packages;C:/dvsdk_1_11_00_00/pspdrivers_1_10_00/packages/ti/sdo/pspdrivers/system/dm6437/bios/evmDM6437/i2c/build;C:/dvsdk_1_11_00_00/xdc_2_95_02/packages;..;C:/dvsdk_1_11_00_00/xdc_2_95_02;C:/dvsdk_1_11_00_00/xdc_2_95_02/etc;C:/CCStudio_v3.3/bios_5_31_08/packages/ti/bios/include;c:\dvsdk_1_11_00_00\xdc_2_95_02/include;c:\dvsdk_1_11_00_00\xdc_2_95_02/packages')
"C:/dvsdk_1_11_00_00/pspdrivers_1_10_00/packages/ti/sdo/pspdrivers/system/dm6437/bios/evmDM6437/i2c/build/dm6437_evm_i2c_st_sample.tcf", line 24
"C:/dvsdk_1_11_00_00/xdc_2_95_02/include/utils.tci", line 566
"C:/dvsdk_1_11_00_00/xdc_2_95_02/include/utils.tci", line 484
"./dm6437_evm_i2c_st_sample.tcf", line 2
"C:/dvsdk_1_11_00_00/xdc_2_95_02/include/utils.tci", line 566
"C:/dvsdk_1_11_00_00/xdc_2_95_02/include/utils.tci", line 484
"./package/cfg/dm6437_evm_i2c_st_sample_x64P.cfg", line 634
"./package/cfg/dm6437_evm_i2c_st_sample_x64P.cfg", line 605
"C:/dvsdk_1_11_00_00/xdc_2_95_02/packages/xdc/cfg/Main.xs", line 182
"C:/dvsdk_1_11_00_00/xdc_2_95_02/packages/xdc/cfg/Main.xs", line 151
"C:/dvsdk_1_11_00_00/xdc_2_95_02/packages/xdc/xs.js", line 137
xdc_2_95_02\gmake.exe: *** [package/cfg/dm6437_evm_i2c_st_sample_x64P.c] Error 1
*************************
Configuration step failed.
*************************
Explanation:
-----------
XDC tools could not find file 'dm6437_i2c0.tci' in your package path.
If this is a valid script name --
To correct this error, you must locate a directory on your system
that contains that script and add it to your package path.
(You can use an absolute path or one relative to your project,
e.g. '../../myTconfScripts/'.)
If you are unsure which script attempted to load the missing script,
please look at the list of scripts located below the original error line above.\n
Please review the above information carefully to correct this configuration error.
[dm6437_evm_i2c_st_sample.tcf] "C:\CCStudio_v3.3\bios_5_31_08\xdctools\tconf" -b -Dconfig.importPath=".;../;C:/CCStudio_v3.3/bios_5_31_08/packages/ti/bios/examples/common;C:/dvsdk_1_11_00_00/pspdrivers_1_10_00/packages/ti/sdo/pspdrivers/system/dm6437/bios/evmDM6437/i2c/build/..;C:/CCStudio_v3.3/bios_5_31_08/packages" dm6437_evm_i2c_st_sample.tcf
[i2cParams_evmdm6437.c] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -g -@"=C:/dvsdk_1_11_00_00/pspdrivers_1_10_00/packages/ti/sdo/pspdrivers/system/dm6437/bios/evmDM6437/i2c/build/xdcconfig/compiler.opt" -pdr -pds238 -fr"C:/dvsdk_1_11_00_00/pspdrivers_1_10_00/packages/ti/sdo/pspdrivers/system/dm6437/bios/evmDM6437/i2c/build/Debug" -d"_DEBUG" -d"BIOS_BUILD" -d"CHIP_DM6437" -mv64+ -@"../build/Debug.lkf" "i2cParams_evmdm6437.c"
"i2cParams_evmdm6437.c", line 47: fatal error: could not open source file "ti/sdo/pspdrivers/drivers/i2c/psp_i2c.h"
1 fatal error detected in the compilation of "i2cParams_evmdm6437.c".
Compilation terminated.
>> Compilation failure
[psp_bios_i2c_sample_led.c] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -g -@"=C:/dvsdk_1_11_00_00/pspdrivers_1_10_00/packages/ti/sdo/pspdrivers/system/dm6437/bios/evmDM6437/i2c/build/xdcconfig/compiler.opt" -pdr -pds238 -fr"C:/dvsdk_1_11_00_00/pspdrivers_1_10_00/packages/ti/sdo/pspdrivers/system/dm6437/bios/evmDM6437/i2c/build/Debug" -d"_DEBUG" -d"BIOS_BUILD" -d"CHIP_DM6437" -mv64+ -@"../build/Debug.lkf" "psp_bios_i2c_sample_led.c"
"psp_bios_i2c_sample_led.c", line 51: fatal error: could not open source file "ti/sdo/pspdrivers/drivers/i2c/psp_i2c.h"
1 fatal error detected in the compilation of "psp_bios_i2c_sample_led.c".
Compilation terminated.
>> Compilation failure
[psp_bios_i2c_st_sample_main.c] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -g -@"=C:/dvsdk_1_11_00_00/pspdrivers_1_10_00/packages/ti/sdo/pspdrivers/system/dm6437/bios/evmDM6437/i2c/build/xdcconfig/compiler.opt" -pdr -pds238 -fr"C:/dvsdk_1_11_00_00/pspdrivers_1_10_00/packages/ti/sdo/pspdrivers/system/dm6437/bios/evmDM6437/i2c/build/Debug" -d"_DEBUG" -d"BIOS_BUILD" -d"CHIP_DM6437" -mv64+ -@"../build/Debug.lkf" "psp_bios_i2c_st_sample_main.c"
"psp_bios_i2c_st_sample_main.c", line 45: fatal error: could not open source file "psputils.h"
1 fatal error detected in the compilation of "psp_bios_i2c_st_sample_main.c".
Compilation terminated.
>> Compilation failure
[dm6437_evm_i2c_st_samplecfg.s62] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -g -@"=C:/dvsdk_1_11_00_00/pspdrivers_1_10_00/packages/ti/sdo/pspdrivers/system/dm6437/bios/evmDM6437/i2c/build/xdcconfig/compiler.opt" -pdr -pds238 -fr"C:/dvsdk_1_11_00_00/pspdrivers_1_10_00/packages/ti/sdo/pspdrivers/system/dm6437/bios/evmDM6437/i2c/build/Debug" -d"_DEBUG" -d"BIOS_BUILD" -d"CHIP_DM6437" -mv64+ -@"Debug.lkf" "dm6437_evm_i2c_st_samplecfg.s62"
[dm6437_evm_i2c_st_samplecfg_c.c] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -g -@"=C:/dvsdk_1_11_00_00/pspdrivers_1_10_00/packages/ti/sdo/pspdrivers/system/dm6437/bios/evmDM6437/i2c/build/xdcconfig/compiler.opt" -pdr -pds238 -fr"C:/dvsdk_1_11_00_00/pspdrivers_1_10_00/packages/ti/sdo/pspdrivers/system/dm6437/bios/evmDM6437/i2c/build/Debug" -d"_DEBUG" -d"BIOS_BUILD" -d"CHIP_DM6437" -mv64+ -@"Debug.lkf" "dm6437_evm_i2c_st_samplecfg_c.c"
Build Complete,
4 Errors, 0 Warnings, 11 Remarks.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
not only this project, All projects that include the header file at <ti/sdo/pspdrivers/…/xxx.h>,such as <ti/sdo/pspdrivers/pal_os/pal_oswait.h> can't comply successfully.
could anyone can help us to solve the problem?