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.

[参考译文] CC1312R:生成错误:多次声明模板

Guru**** 2553260 points
Other Parts Discussed in Thread: CC1312R, SYSCONFIG

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

https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz-group/sub-1-ghz/f/sub-1-ghz-forum/1020370/cc1312r-build-error-templates-are-declared-more-than-once

器件型号:CC1312R
Thread 中讨论的其他器件: SysConfig

我正在尝试使用 CC1312R Launch Pad。

CCS 版本10.4.0

SysConfig 1.9.0

我在 TI15.4收集器示例(带有 tirtos)中遇到构建错误

Invoking: SysConfig
"E:/Texas Instruments/ccsv10/ccs/utils/sysconfig_1.9.0/sysconfig_cli.bat" -s "E:/Texas Instruments/simplelink_cc13x2_26x2_sdk_5_20_00_52/.metadata/product.json" --script "D:/FloLogic/WkSpaceCCS10_FloLogic/collector_CC1312R1_LAUNCHXL_tirtos_ccs/collector.syscfg" -o "syscfg" --compiler ccs
Running script...
Validating...
subdir_rules.mk:23: recipe for target 'build-1644168401' failed
Error: The following templates are declared more than once: ti_154stack_config.h,ti_154stack_features.h
    at t.CodeGenerator.getTemplates (E:\Texas Instruments\ccsv10\ccs\utils\sysconfig_1.9.0\dist\webpack:\src\pinmux\services\codeGeneration\codeGenerator.ts:70:10)
    at predicate (E:\Texas Instruments\ccsv10\ccs\utils\sysconfig_1.9.0\dist\webpack:\src\cli\cli_core.ts:124:37)
    at toProcess (E:\Texas Instruments\ccsv10\ccs\utils\sysconfig_1.9.0\dist\webpack:\src\solver_tests\processSerially.ts:16:12)
    at processNext (E:\Texas Instruments\ccsv10\ccs\utils\sysconfig_1.9.0\dist\webpack:\src\solver_tests\processSerially.ts:22:11)
    at Object.processSerially (E:\Texas Instruments\ccsv10\ccs\utils\sysconfig_1.9.0\dist\webpack:\src\solver_tests\processSerially.ts:28:9)
    at Object.t.generateOutput (E:\Texas Instruments\ccsv10\ccs\utils\sysconfig_1.9.0\dist\webpack:\src\cli\cli_core.ts:114:8)
    at <anonymous>
gmake: *** [build-1644168401] Error 1
gmake: Target 'all' not remade because of errors.

如何纠正此问题?

Mary

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

    我自己解决了这个问题。

    我已经安装了 SysConfig 1.8.2、但不在 CCS 10安装目录中。  我做了以下工作:

    打开的工程属性

    选择"CCS General -> Products"选项卡

    选择了 SysConfig、单击"Edit..."

    单击首选项链接

    在 Product Discovery path (产品发现路径)下:  将路径添加到 SysConfig 1.8.2安装目录

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

    感谢您发布解决方案!

    谢谢、

    玛丽·H.