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/MSP430FR4133:由于符号未解算、因此可以#39;t 构建此代码/工程

Guru**** 2589265 points
Other Parts Discussed in Thread: MSP430FR4133

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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/627834/ccs-msp430fr4133-can-t-build-this-code-project-because-of-unsolved-symbols

器件型号:MSP430FR4133

工具/软件:Code Composer Studio

您好、TI-Forum、我无法构建此代码。 如何修复错误"未解决的符号"? 

#include 

#include 

#include "main.h"

#include "hal_lcd.h"

#include 

#include 



int main (void){

//停止看门狗计时器

WDTCTL = WDTPW | WDTHOLD; //停止看门狗计时器

init_lcd();



displayScrollText ("欢迎使用 FR4133 Launchpad);





} 



错误: 
 
说明  资源  路径  位置  类型 
#10010在链接期间遇到错误;"LCD mit Test_2.out"未生成  LCD Submit Test_2                                                                              C/C++问题 
#10234-D  未解析的符号仍然  是 LCD Submit Test_2            C/C++问题 
未解析的符号模式、首先在中引用   液晶屏发送测试_2                                                                                                C/C++问题 

 

 

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

    hal_LCD 库使用最初在 OutOfBox_MSP430FR4133项目的 main.c 中定义的外部模式指针。 因此、您只需在主函数之前添加此初始化即可:

    volatile unsigned char * mode =&BAKMEM4_L;

    此致、
    Ryan