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.

[参考译文] CC3220SF-LAUNCHXL:错误:"mode"of "/ti/drivers/SPI ":验证失败 Simplelink SDK 7.10

Guru**** 1081280 points
Other Parts Discussed in Thread: SYSCONFIG
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/1324781/cc3220sf-launchxl-error-configurable-mode-of-ti-drivers-spi-validation-failed-simplelink-sdk-7-10

器件型号:CC3220SF-LAUNCHXL
主题中讨论的其他器件:SysConfigCC3220SF

您好!

我对新安装的 CCSv12.60、Simplelink SDK 7.10和 CC3320SF Launchpad 副本有相同的问题。

尝试使用 ti-RTOS 7和 ti 编译器导入和编译 mqtt_client 示例时、我收到有关 SPI 配置的投诉(addisnance 异常)

问题与 SysConfig 和 SPI 有关。

以下是控制台输出:

Building file: "../mqtt_client.syscfg"
Invoking: SysConfig
"C:/ti/sysconfig_1_12_0/sysconfig_cli.bat" --script "C:/Users/damiano/work/CCSv12/mqtt_client_CC3220SF_LAUNCHXL_tirtos7_ticlang/mqtt_client.syscfg" -o "syscfg" -s "C:/ti/simplelink_cc32xx_sdk_7_10_00_13/.metadata/product.json" --compiler ticlang
Running script...
subdir_rules.mk:26: recipe for target 'build-312078257' 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\damiano\work\CCSv12\mqtt_client_CC3220SF_LAUNCHXL_tirtos7_ticlang\mqtt_client.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-312078257] Error 1
gmake: Target 'all' not remade because of errors.

此致

达米亚诺

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    我从 ti 文件夹中删除了 SysConfig_1_12_0文件夹、现在构建完成且没有错误