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/MSP432P401R:无法在现有 CCS 工程中包含 driverlib

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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/872059/ccs-msp432p401r-unable-to-include-driverlib-in-existing-ccs-project

器件型号:MSP432P401R
主题中讨论的其他器件:MSP432WARE

工具/软件:Code Composer Studio

您好!

我已安装 MSP432WARE/MSP432 DriverLib。 我导入了一些 DriverLib 示例项目、并成功地进行了构建和测试。  

我想在我的现有 CCS 项目中包含 driverlib。 我已经关注了一些主题、但我无法做到。 当我尝试包括驱动程序库项目模板(Source-> Apply Project Template )时,它不可用。 尽管已安装的产品中列出了它。
我使用 的是 Code Composer Studio 8.3.1。 我已附加已安装产品和可用项目模板的图像。  
请指导我如何将 DriverLib 包含在我的现有项目中。
哈桑
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    感谢您按照以下步骤解决了我的问题

    1.将 driverlib 文件夹直接复制到工程根文件夹中
    2.在 Project Properties 内的 CCS Build -> ARM Compiler -> Include Options 下添加"${PROJECT_ROOT}/driverlib/MSP432P4xx