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.
我正在尝试包含 driverlib.h 库、但每次执行 CCS 时都会提示文件目录不存在。
如何安装?
您似乎正在尝试包含"directlib.h"、而不是"driverlib.h"。 请尝试更改它。
Driverlib 是 MSP430Ware 的一部分、(我认为)可以从 CCS App Center 或 Resource Explorer 安装。 (我直接从 TI 网站下载它、因此我不确定。)
安装后、当您创建新项目时、其中一个选项(您可能需要向下滚动)是"Empty project with Driverlib source (使用 Driverlib 源代码的空项目)"。 我建议您现在尝试一下、看看您是否已经拥有它。
如果您安装了 MSPWare,则*更容易*启动 DriverLib 项目并将您的东西固定到该项目上。