Part Number:CC3220SOther Parts Discussed in Thread: SYSCONFIG
subdir_rules.mk:9: recipe for target 'build-67265087' failed
Error: Exception occurred calling addInstance()
**** Build of configuration MCU+Image for project tcpecho_CC3220S_LAUNCHXL_freertos_ticlang ****
"C:\\ti\\ccs1210\\ccs\\utils\\bin\\gmake" -k -j 12 all -OBuilding file: "../image.syscfg"
Invoking: SysConfig
"C:/ti/sysconfig_1_12_0/sysconfig_cli.bat" -s "C:/ti/simplelink_cc32xx_sdk_7_10_00_13/.metadata/product.json" –script "C:/Users/User/workspace_v12/tcpecho_CC3220S_LAUNCHXL_freertos_ticlang/image.syscfg" -o "syscfg" –compiler ticlang
Running script…
Validating…
Generating Code (image.syscfg)…
Writing C:\Users\User\workspace_v12\tcpecho_CC3220S_LAUNCHXL_freertos_ticlang\MCU+Image\syscfg\ti_drivers_net_wifi_config.json…
Finished building: "../image.syscfg"
Building file: "../common.syscfg"
Invoking: SysConfig
"C:/ti/sysconfig_1_12_0/sysconfig_cli.bat" -s "C:/ti/simplelink_cc32xx_sdk_7_10_00_13/.metadata/product.json" –script "C:/Users/User/workspace_v12/tcpecho_CC3220S_LAUNCHXL_freertos_ticlang/common.syscfg" -o "syscfg" –compiler ticlang
Running script…
subdir_rules.mk:9: recipe for target 'build-67265087' failed
Error: Exception occurred calling addInstance()
at Proxy.<anonymous> (C:\ti\sysconfig_1_12_0\dist\webpack:\src\pinmux\services\scripting\scriptingGuard.ts:34:10)
at scriptFunc (C:\Users\User\workspace_v12\tcpecho_CC3220S_LAUNCHXL_freertos_ticlang\common.syscfg:61:28)
at cb (C:\ti\sysconfig_1_12_0\dist\webpack:\src\pinmux\services\scripting\runScript.ts:94:27)
at Object.withDeprecatedAccess (C:\ti\sysconfig_1_12_0\dist\webpack:\src\pinmux\services\deprecatedAccessGuard.ts:14:10)
at Object.runAsUserScript (C:\ti\sysconfig_1_12_0\dist\webpack:\src\pinmux\services\scripting\scriptingGuard.ts:49:3)
at iteratee (C:\ti\sysconfig_1_12_0\dist\webpack:\src\pinmux\services\scripting\runScript.ts:94:5)
at baseEach (C:\ti\sysconfig_1_12_0\dist\webpack:\node_modules\lodash\lodash.js:530:11)
at Function.each (C:\ti\sysconfig_1_12_0\dist\webpack:\node_modules\lodash\lodash.js:9409:52)
at iteratee (C:\ti\sysconfig_1_12_0\dist\webpack:\src\pinmux\services\scripting\runScript.ts:92:6)
at at (C:\ti\sysconfig_1_12_0\dist\webpack:\node_modules\lodash\lodash.js:530:11)
Caused by: Error: Configurable "mode" of "/ti/drivers/SPI": Validation failed: [
{
"keyword": "type",
"dataPath": "/options/0/name",
"schemaPath": "#/definitions/EnumerationOption<number>/properties/name/type",
"params": {
"type": "number"
},
"message": "should be number"
},
{
"keyword": "additionalProperties",
"dataPath": "/options/1",
"schemaPath": "#/definitions/EnumerationOption<string>/additionalProperties",
"params": {
"additionalProperty": "legacyNames"
},
"message": "should NOT have additional properties"
},
{
"keyword": "anyOf",
"dataPath": "",
"schemaPath": "#/anyOf",
"params": {},
"message": "should match some schema in anyOf"
}
]
at validateConfigurable (C:\ti\sysconfig_1_12_0\dist\webpack:\src\pinmux\services\objectManagers\configurable.ts:1255:10)
at Object.createMetaContentConfigurableMgr (C:\ti\sysconfig_1_12_0\dist\webpack:\src\pinmux\services\objectManagers\configurable.ts:1281:3)
at b.createMetaContentConfigurableMgr (C:\ti\sysconfig_1_12_0\dist\webpack:\src\pinmux\services\objectManagers\moduleInstance.ts:761:10)
at iteratee (C:\ti\sysconfig_1_12_0\dist\webpack:\src\pinmux\services\objectManagers\moduleInstance.ts:755:57)
at baseMap (C:\ti\sysconfig_1_12_0\dist\webpack:\node_modules\lodash\lodash.js:653:23)
at Function.map (C:\ti\sysconfig_1_12_0\dist\webpack:\node_modules\lodash\lodash.js:9621:51)
at b.addMetaContentConfigurableMgrs (C:\ti\sysconfig_1_12_0\dist\webpack:\src\pinmux\services\objectManagers\moduleInstance.ts:755:30)
at b.initMetaConfigurables (C:\ti\sysconfig_1_12_0\dist\webpack:\src\pinmux\services\objectManagers\moduleInstance.ts:799:8)
at Function.createInstanceImpl (C:\ti\sysconfig_1_12_0\dist\webpack:\src\pinmux\services\objectManagers\moduleInstance.ts:125:11)
at Function.createInstance (C:\ti\sysconfig_1_12_0\dist\webpack:\src\pinmux\services\objectManagers\moduleInstance.ts:997:28)
gmake: *** [build-67265087] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
FreeRTOSv202112.00
Yolande Wang:
您好,
这似乎是由于项目默认的 SysConfig 版本所致,项目默认是1.12 SysConfig,将其更改为较新的版本 1.61.1 。
您点击此处打开 SysConfig 下载链接,选择 1.61.1 版本
在CCS中右键单击该项目并选择属性,打开 Products -> Edit ,选择版本。
希望对您有帮助。
,
Yolande Wang:
您按照上面步骤尝试一下,不行我再寻找其他解决方案。
期待您的反馈。