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/LAUNCXL-CC1310:CCS CC1310构建错误

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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/630200/ccs-launchxl-cc1310-ccs-cc1310-build-error

部件号:LAUNCHTXL-CC1310

工具/软件:Code Composer Studio

我在尝试构建项目时收到此错误。 如何解决此问题?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    Ben,您好!
    如果我不得不猜测,可能是您缺少所需的包含搜索路径。 这是简单的例子吗? 还是您自己的项目?

    谢谢
    KI
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    我使用了空的RTOS示例,并通过一个教程将SmartRF_Setting添加到项目中以测试TX,同时使用2.6 7 (11.1)。

    当我导入SmartRF_Setting时,我在构建时收到错误。 是否有解决方案?
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尝试在"ti\devices\cc13x0\driverlib\RF_mailbox.h"的根目录中添加附加的包含搜索路径

    例如,在我安装的simplelink SDK中存在该路径。 因此,对于我来说,我会添加并包含以下搜索路径:"c:\ti\simplelink_cc13x0_SDK_1_40_00_10\source\"

    根据您的环境相应地调整路径

    谢谢

    KI

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

    我解决了问题。

    在SmartRF_settings.c和SmartRF_settings.h中,我需要更改从SmartRF Studio导入的默认包含路径。

    在SmartRF_setting.c中,以下是更改:

    #include <driverlib/RF_mailbox.h>
    #include <driverlib/RF_common_cmd.h>
    #include <driverlib/RF_prop_cmd.h>
    #include <ti/drivers/RF/RF.h>
    #include <RF_patches/RF_patch_cpe_genfsk.h>
    #include <RF_patches/RF_patch_rfe_genfsk.h>
    包括"SmartRF_settings.h"

    在SmartRF_setting.h中,这是更改

    #include <driverlib/RF_mailbox.h>
    #include <driverlib/RF_common_cmd.h>
    #include <driverlib/RF_prop_cmd.h>
    #include <ti/drivers/RF/RF.h>