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.

[参考译文] MSP432E401Y:包含头文件位置

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1161531/msp432e401y-included-header-file-location

器件型号:MSP432E401Y

大家好、团队、

我从 Resource Explorer 导入 GPIO_bothedge_interrupt、并能够在导入的 c 文件中运行该代码。  但是、当我简单地复制该代码并粘贴到另一个工程中的另一个 main.c 文件时、我会看到错误:"无法打开源文件"ti/devices/msp432e4/driverlib/driverlib.h"。  此头文件隐藏在何处、以及如何在未导入的另一个工程中链接或指向它?

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

    您好!

     在导入的工程中、它具有以下目录、用于包含您在其他工程中很可能没有的路径。 请参见下面的。  

    如果您转至 C:\ti\simplelink_msp432e4_sdk_4_20_00_12\source\ti\devices\msp432e4\driverlib、则会找到所有驱动程序文件。  

    我认为、在 CCS 中、如果您更新某些系统变量、您可能还需要进行更新。