你好
我这边的硬件开发板是MMWACS_DSP_EVM, 使用CCS930 导入Hello World工程,编译报错。
**** Clean-only build of configuration Debug for project A15_Test_demo ****
"D:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 8 clean -ODEL /F "A15_Test_demo.hex" "configPkg\linker.cmd" "configPkg\compiler.opt" "A15_Test_demo.out"DEL /F "hello.o"DEL /F "hello.d"RMDIR /S/Q "configPkg\"找不到 D:\ti_work2020\workspace_v9.30\A15_Test_demo\Debug\A15_Test_demo.hex
找不到 D:\ti_work2020\workspace_v9.30\A15_Test_demo\Debug\A15_Test_demo.out
找不到 D:\ti_work2020\workspace_v9.30\A15_Test_demo\Debug\hello.o
找不到 D:\ti_work2020\workspace_v9.30\A15_Test_demo\Debug\hello.d
Finished clean
**** Build Finished ****
**** Build of configuration Debug for project A15_Test_demo ****
"D:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 8 all -OBuilding file: "../hello.cfg"
Invoking: XDCtools
"D:/ti/ccs930/xdctools_3_60_02_34_core/xs" –xdcpath="D:/ti/PROCESSOR_SDK_RADAR_03_08_00_00/ti_components/os_tools/bios_6_46_06_00/packages;" xdc.tools.configuro -o configPkg -t gnu.targets.arm.A15F -p ti.platforms.evmAM572X -r release -c "D:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-9-2019-q4-major" "../hello.cfg"
making package.mak (because of package.bld) …
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) …
configuring hello.xa15fg from package/cfg/hello_pa15fg.cfg …
subdir_rules.mk:19: recipe for target 'build-1779820559-inproc' failed
error: xdc.cfg.Program: "D:/ti/ccs930/xdctools_3_60_02_34_core/packages/xdc/cfg/Program.xs", line 71: xdc.cfg.Program : The package 'ti.sysbios.knl' is not compatible with XDCtools used in this build. Please either use XDCtools compatible with that package, or update the product containing that package, or rebuild the package with XDCtools 3.50 or later.
js: "D:/ti/ccs930/xdctools_3_60_02_34_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
gmake.exe: *** [package.mak:222: package/cfg/hello_pa15fg.xdl] Error 1
js: "D:/ti/ccs930/xdctools_3_60_02_34_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake[1]: *** [build-1779820559-inproc] Error 1
gmake: *** No rule to make target 'build-1779820559', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-1779820559', needed by 'configPkg/linker.cmd'.
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
此外,在创建工程时,此处我应该怎么选择Platform.( 我使用的硬件开发板是WWMCAS_DSP_EVM)
Chris Meng:
你好,
MMWCAS-DSP-EVM上的处理器是TDA2,请确认你安装CCS的时候有安装汽车处理器相关的内容。
从下面的错误信息来看,sysbios和xdc的版本不是很匹配。
The package 'ti.sysbios.knl' is not compatible with XDCtools used in this build. Please either use XDCtools compatible with that package, or update the product containing that package, or rebuild the package with XDCtools 3.50 or later.在processor sdk for radar里面已经有相关的软件例程。为什么要新创建一个工程呢?建议你可以使用processor sdk for radar里面的使用的sysbios/xdc等工具的版本。