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.

[参考译文] MSP-EXP430FR5994:无法在 DSP_Lib 中使用 LEA 相关函数

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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1182760/msp-exp430fr5994-unable-to-use-lea-related-functions-in-dsp_lib

器件型号:MSP-EXP430FR5994
主题中讨论的其他器件:MSP430FR5994

我是 MSP430的新手。 我正在尝试重现基于 MSP430FR5994的项目。 但是、我发现无法使用 DSPLIB_LEA.h 中的 LEA 相关函数 控制台显示 MSP_LEA_IFG 和 MSP_LEA_init 并保持未定义的符号。 我发现它们包含在 DSPLib_lea.h (extern)中。

否则、我通过将 include 目录复制到工程目录并将它们添加到#include 搜索路径中来包含 dsplib 和 driverlib。

我想知道我是否错过了一些配置? 提前感谢您!

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

    同桥您好、

    调用 include 函数有两种方法。

    1.输入 include 搜索路径,您可以在项目中看到该文件。 我建议您设置文件的绝对路径。

    2.将文件复制到工程中、并删除相应的 include 搜索路径、然后您可以通过"#include "xx.h"或#include 来调用该文件 "

    此致

    SAL