Part Number:MSP430F5529Other Parts Discussed in Thread: CC2500, SIMPLICITI
现在我需要在msp430f5529上驱动CC2500,选择了5529的launchpad和CC2500的EMK,下载了http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/SimpliciTI_RF_Stack/1_x_x_5/index_FDS.html链接中的simpliciTI文件,打开编译后出现错误,显示error #10008-D: cannot find file "rts430.lib"的错误
“error #10008-D: cannot find file "rts430.lib"
"../lnk_msp430f5529.cmd", line 126: warning #10424-D: Linker command file has
no sections of type=VECT_INIT, but does contain .intXX sections. This file
may be out of date. Generating interrupt pointers for all .intXX sections. The default handler provided in the RTS will be used if no other handler is
found. It is recommend that you update your linker command file to the
latest version.
warning #10247-D: creating output section ".data" without a SECTIONS
specification
error #10010: errors encountered during linking; "Project.out" not built
>> Compilation failure
makefile:159: recipe for target 'Project.out' failed
gmake: *** [Project.out] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
”
按照网站中提到的文件路径查找,并未找到对应的rts430.lib文件。
请问是已经不支持该lib文件了吗?或者我应该如何修改文件路径呢?
user6601413:
我更换了rts430_eabi.lib文件,不知道会不会有影响
,
Susan Yang:
user6601413 说:请问是已经不支持该lib文件了吗?
该项目最初是使用MSP430编译器3.2.1创建的,输出COFF格式。但是 CCSv6 及以上的版本带有一个更高的编译器版本 (如15.12.x),它不支持 COFF(仅 ELF)。rts430.lib 用于 COFF,而 rts430_eabi.lib 用于 ELF。您可以选择安装支持 COFF的旧版 MSP430 编译器(最高 v4.x),或者迁移项目以使用 ELF。
,
Susan Yang:
我安装了下面的版本,编译后不会报错
,
user6601413:
请问我在工程中这样修改就可以了吗?
,
Susan Yang:
安装成功后,在您的图中修改。另外中间选择COFF,最下方请选择rts430.lib