Quantcast
Channel: MSP 低功耗微控制器论坛 - 最近的话题
Viewing all articles
Browse latest Browse all 3634

奇怪的关于Include的错误,请教大家!

$
0
0

  一共出现了大概七十几个类似警告,工程内我全是include <msp430f5510.h>,为什么会出现和msp430x14x.h冲突的警告?在工程里搜msp430x14x,发现debug后的main.d文件有Include msp430x14x.h,除此之外没有其他地方出现msp430x14x.h。程序可以正常运行,但我非常的困惑,希望得到解答,谢谢。

另外,工程复制粘贴了一个msp430x14x工程的一个.c文件进行改动,但include我已经修改成了msp430f5510,总之现在程序里除了main.d搜不到任何出现msp430x14x的地方。


#48-D incompatible redefinition of macro "WDT_ADLY_1_9" (declared at line 4581 of "F:/ti/ccsv6/ccs_base/msp430/include/msp430f5510.h") .ccsproject /SPI_SD_CARD line 227, external location: F:\ti\ccsv6\ccs_base\msp430\include\msp430x14x.h C/C++ Problem

Description Resource Path Location Type
#48-D incompatible redefinition of macro "WDT_ADLY_1000" (declared at line 4578 of "F:/ti/ccsv6/ccs_base/msp430/include/msp430f5510.h") .ccsproject /SPI_SD_CARD line 224, external location: F:\ti\ccsv6\ccs_base\msp430\include\msp430x14x.h C/C++ Problem


Viewing all articles
Browse latest Browse all 3634

Trending Articles