Part Number:TMS320F28374SOther Parts Discussed in Thread:SYSCONFIG, C2000WARE
CCS9.1 C2000 Ware4.02,编译28374s valley switching的例程时报下面的错,console显示如下:
**** Build of configuration CPU1_RAM for project epwm_ex6_valley_switching ****
"C:\\ti\\ccs910\\ccs\\utils\\bin\\gmake" -k -j 12 all -OBuilding file: "../epwm_ex6_valley_switching.syscfg"
Invoking: SysConfig
"C:/ti/ccs910/ccs/utils/sysconfig/sysconfig_cli.bat" -d "F2837xS" -s "C:/ti/c2000/C2000Ware_4_02_00_00/.metadata/sdk.json" -o "syscfg" –package F2837xS_176PTP –part F2837xS_176PTP "../epwm_ex6_valley_switching.syscfg"
Usage:
cli [-o <dir>] [-s <file>] [-u <string>] [-b <name>] [-d <name>] [-p <name>] [-r <name>] [–treatWarningsAsErrors] <script>
cli –help
cli –version
example: cli -s meta_data/sdk.json -d MSP432P401R scripts/two_uarts.js
example: -s sdk.json -d MSP432P401R -o ./display_cfg sdk/cfgs/display.syscfg
Note that the all arguments other than '–help' and '–version' may also be specified via the script with an embedded @cliArgs comment directive. E.g. // @cliArgs -d MSP432P401R
If an argument is embedded in a script and exliciltiy specified via the CLI
then precedence is given to the CLI arguments. Additionally, specifying "–board" or "–device" on the CLI will override any "–board" and "–device"
arguments specified in the script.
subdir_rules.mk:19: recipe for target 'build-1282829025-inproc' failed
Invalid argument '-s': C:\ti\c2000\C2000Ware_4_02_00_00\.metadata\sdk.json: Validation failed: [
{
"keyword": "additionalProperties",
"dataPath": "",
"schemaPath": "#/additionalProperties",
"params": {
"additionalProperty": "boardPath"
},
"message": "should NOT have additional properties"
}
]
gmake[1]: *** [build-1282829025-inproc] Error 1
subdir_rules.mk:16: recipe for target 'build-1282829025' failed
gmake: *** [build-1282829025] Error 2
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
请问是什么原因导致的,如何解决?
谢谢
Ben Qin:
应该是你的syscfg的问题,你安装了syscfg吗?检查一下这个页面:
,
senfeng wang:
我安装了syscfg组件之后依然有这个报错,将工程中的syscfg文件删除之后编译又显示找不到board.h文件,后来安装CCS12之后问题全部解决了,例程一次编译通过
,
Ben Qin:
好的,问题解决就好。