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.

[参考译文] 致命错误:##39;ti/devices/msp.h'未找到文件 startup_mspm0l130x_ticlang.c/

Guru**** 2464660 points
Other Parts Discussed in Thread: LP-MSPM0L1306, SYSCONFIG

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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1389056/fatal-error-ti-devices-msp-msp-h-file-not-found-startup_mspm0l130x_ticlang-c

器件型号:P-MSPM0L1306

工具与软件:

大家好!
我不熟悉 TI 控制器、不熟悉 CCS IDE。 我有一个带有 MSPM032位 ARM Cortex MCU 的 TI Launchpad、其中包括 TI 的 LP-MSPM0L1306控制器。 之前、我使用的是 dsPIC 控制器、在其中可以轻松添加用于 GPIO 外设配置的头文件(XC.h)。

现在、我尝试使用 LP-MSPM0L1306控制器运行一些使用以下库的演示工程:


#include
#include

我使用相同的演示代码创建了一个新工程来测试 PWM、但遇到以下错误:

致命错误找到"ti/devices/msp.h"文件 startup_mspm0l130x_ticlang.c/Single PWM line 36 C/C++问题


`msp.h`库未被直接包含在内。 如何解决此问题?