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.

[参考译文] CCS/CC3220SF:编译器未找到 SDK、但已添加到项目中

Guru**** 3040470 points

Other Parts Discussed in Thread: CC3220SF

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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/876583/ccs-cc3220sf-sdk-not-found-by-the-compiler-but-added-in-the-project

器件型号:CC3220SF

工具/软件:Code Composer Studio

在尝试从 Resource Explorer 中获取一些示例后、我想创建自己的项目。

我执行了以下步骤:

  1. 创建新的 CCS 工程(main.c 为空)
  2. 将 Target 设置为 CC3220SF
  3. 设置 TI 编译器(v18.12.4.LTS)
  4. 添加了一个名为"common.syscfg"的文件来配置外设
  5. 构建

在这里是输出:

****为项目 test1构建配置调试****

/opt/ti/ccs930/ccs/utils/bin/gmake -k -j 4所有-O

构建文件:"../common.syscfg"
调用:SysConfig
"/opt/ti/ccs930/ccs/utils/sysconfig/sysconfig_cli.sh -d "CC3220SF"-o "syscfg""./common.syscfg"

用法:
CLI [-o ][-s ][-u ][-b. ][-d. ][-p ][-r. ][-treatWarningsAsErrors] 

It says it doesn't find the product "simplelink_cc32xx_sdk", but:

  • Window > Preferences > Code Composer Studio > Products, under installed product I see SimpleLink CC32xx SDK v3.30.1.02 and XDCtools v3.60.2.34_core
  • Project > Properties > General > Products both products (SimpleLink and XDCtools) are selected
  • Project > Properties > Build > ARM Compiler > Include Path there is {COM_TI_SIMPLELINK_CC32XX_INCLUDE_PATH}
  • Project > Properties > Build > ARM Compiler > Predefined Symbols, there is "{COm_TI_SIMPLELINK_CC32XX_SDK_SYMBOLS}

What else it needs to fine the SDK?