TI中文支持网
TI专业的中文技术问题搜集分享网站

移植MSP430F5529的TI-RTOS工程到MSP430F5259编译出现了问题

hi 

我这两天想把EXP_MSP430F5529LP开发板的工程 移植到MSP430F5259的平台,我已经修改了ccxml和cmd文件,然后修改工程属性中的预定义(Predefined Sysbols)__MSP430F5259__,

然后第一次编译出现   …….. ti/drivers/lib/drivers_MSP430F52599.ae430X can't find 的错误,

然后我按照Creating TI-RTOS Projects for Other MSP430 Devices doc

http://processors.wiki.ti.com/index.php/Creating_TI-RTOS_Projects_for_Other_MSP430_Devices  对tirtos.mak 进行如下修改

#ti-driver 源码路径
DEFAULT_INSTALL_DIR?= c:/ti/tirex-content
#ccsv7.4安装路径
CCS_COMPILERS_DIR?= f:/Program_Files/Code_Composer_Studio/ccsv7/tools/compiler

CCS_BUILD?= true
TI_INSTALL_DIR?= $(CCS_COMPILERS_DIR)
#430 编译器
ti.targets.msp430.elf.MSP430X ?= $(TI_INSTALL_DIR)/ti-cgt-msp430_16.9.6.LTS
#arm 编译器
ti.targets.arm.elf.M4F?= $(TI_INSTALL_DIR)/ti-cgt-arm_18.1.2.LTS


MSP430DEVLIST := MSP430F5529,MSP430F5259

同时还把ccsv6  改成我的ccsv7   然后window的CMD 窗口(管理员模式)  继续  gmake -f tirtos,mak drivers  编译 出现下面错误

>> Compilation failure
"sdspi/SDSPIEUSCIA.c", line 51: fatal error: cannot open source file "msp430.h"
"sdspi/SDSPIUSCIA.c", line 51: fatal error: cannot open source file "msp430.h"

>> Compilation failure
1 catastrophic error detected in the compilation of "sdspi/SDSPIEUSCIA.c".
Compilation terminated.
1 catastrophic error detected in the compilation of "sdspi/SDSPIUSCIA.c".
Compilation terminated.
gmake[1]: *** [package/lib/lib/drivers_MSP430F5529_instrumented/./spi/SPIEUSCIBD
MA.oe430X] Error 1
gmake[1]: *** [package/lib/lib/drivers_MSP430F5529/./spi/SPIEUSCIADMA.oe430X] Er
ror 1
gmake[1]: *** [package/lib/lib/drivers_MSP430F5529_instrumented/./uart/UARTEUSCI
A.oe430X] Error 1
gmake[1]: *** [package/lib/lib/drivers_MSP430F5529_instrumented/./uart/UARTUSCIA
.oe430X] Error 1
gmake[1]: *** [package/lib/lib/drivers_wifi_MSP430F5529/./wifi/WiFiCC3100.oe430X
] Error 1
cle430X wifi/WiFiCC3100.c …

1 catastrophic error detected in the compilation of "spi/SPIUSCIBDMA.c".
Compilation terminated.
"spi/SPIEUSCIADMA.c", line 44: fatal error: cannot open source file "msp430.h"
1 catastrophic error detected in the compilation of "spi/SPIEUSCIADMA.c".
Compilation terminated.
"c:\ti\tirex-content\tirtos_msp43x_2_20_00_06\products\msp430_driverlib_2_70_01_
01a\driverlib\MSP430F5xx_6xx\inc/hw_memmap.h", line 41: fatal error: cannot open
source file "msp430.h"
"c:\ti\tirex-content\tirtos_msp43x_2_20_00_06\products\msp430_driverlib_2_70_01_
01a\driverlib\MSP430F5xx_6xx\inc/hw_memmap.h", line 41: fatal error: cannot open
source file "msp430.h"
"c:\ti\tirex-content\tirtos_msp43x_2_20_00_06\products\msp430_driverlib_2_70_01_
01a\driverlib\MSP430F5xx_6xx\inc/hw_memmap.h", line 41: fatal error: cannot open
source file "msp430.h"
1 catastrophic error detected in the compilation of "wifi/WiFiCC3100.c".
Compilation terminated.
1 catastrophic error detected in the compilation of "uart/UARTEUSCIA.c".
Compilation terminated.
1 catastrophic error detected in the compilation of "wifi/WiFiCC3100.c".
Compilation terminated.
"i2c/I2CUSCIB.c", line 46: fatal error: cannot open source file "msp430.h"
1 catastrophic error detected in the compilation of "i2c/I2CUSCIB.c".
Compilation terminated.

>> Compilation failure

>> Compilation failure

>> Compilation failure
gmake[1]:
>> Compilation failure
*** [package/lib/lib/drivers_wifi_MSP430F5529_instrumented/./wifi/WiFiCC3100.oe4
30X] Error 1
gmake[1]: *** [package/lib/lib/drivers_wifi_MSP430F5259_instrumented/./wifi/WiFi
CC3100.oe430X] Error 1

>> Compilation failure

>> Compilation failure
gmake[1]: *** [package/lib/lib/drivers_MSP430F5259/./i2c/I2CUSCIB.oe430X] Error
1
gmake[1]: *** [package/lib/lib/drivers_MSP430F5529/./sdspi/SDSPIEUSCIA.oe430X] E
rror 1
gmake[1]: *** [package/lib/lib/drivers_MSP430F5529/./sdspi/SDSPIUSCIA.oe430X] Er
ror 1
gmake[1]: *** [package/lib/lib/drivers_MSP430F5259/./uart/UARTEUSCIA.oe430X] Err
or 1

>> Compilation failure

>> Compilation failure
gmake[1]: *** [package/lib/lib/drivers_MSP430F5259/./spi/SPIUSCIBDMA.oe430X] Err
or 1
gmake[1]: *** [package/lib/lib/drivers_MSP430F5259/./spi/SPIEUSCIADMA.oe430X] Er
ror 1
"spi/SPIUSCIADMA.c", line 44: fatal error: cannot open source file "msp430.h"
1 catastrophic error detected in the compilation of "spi/SPIUSCIADMA.c".
Compilation terminated.

>> Compilation failure
gmake[1]: *** [package/lib/lib/drivers_MSP430F5259/./spi/SPIUSCIADMA.oe430X] Err
or 1
"c:\ti\tirex-content\tirtos_msp43x_2_20_00_06\products\msp430_driverlib_2_70_01_
01a\driverlib\MSP430F5xx_6xx\inc/hw_memmap.h", line 41: fatal error: cannot open
source file "msp430.h"
1 catastrophic error detected in the compilation of "watchdog/WatchdogMSP430.c".

Compilation terminated.

>> Compilation failure
gmake[1]: *** [package/lib/lib/drivers_MSP430F5259/./watchdog/WatchdogMSP430.oe4
30X] Error 1
"uart/UARTUSCIA.c", line 44: fatal error: cannot open source file "msp430.h"
1 catastrophic error detected in the compilation of "uart/UARTUSCIA.c".
Compilation terminated.

>> Compilation failure
gmake[1]: *** [package/lib/lib/drivers_MSP430F5259/./uart/UARTUSCIA.oe430X] Erro
r 1
"sdspi/SDSPIEUSCIB.c", line 51: fatal error: cannot open source file "msp430.h"
1 catastrophic error detected in the compilation of "sdspi/SDSPIEUSCIB.c".
Compilation terminated.

>> Compilation failure
gmake[1]: *** [package/lib/lib/drivers_MSP430F5259_instrumented/./sdspi/SDSPIEUS
CIB.oe430X] Error 1
"sdspi/SDSPIEUSCIB.c", line 51: fatal error: cannot open source file "msp430.h"
1 catastrophic error detected in the compilation of "sdspi/SDSPIEUSCIB.c".
Compilation terminated.

>> Compilation failure
gmake[1]: *** [package/lib/lib/drivers_MSP430F5529/./sdspi/SDSPIEUSCIB.oe430X] E
rror 1
"spi/SPIUSCIADMA.c", line 44: fatal error: cannot open source file "msp430.h"
1 catastrophic error detected in the compilation of "spi/SPIUSCIADMA.c".
Compilation terminated.

>> Compilation failure
gmake[1]: *** [package/lib/lib/drivers_MSP430F5259_instrumented/./spi/SPIUSCIADM
A.oe430X] Error 1"c:\ti\tirex-content\tirtos_msp43x_2_20_00_06\products\msp430_d
riverlib_2_70_01_01a\driverlib\MSP430F5xx_6xx\inc/hw_memmap.h", line 41: fatal e
rror: cannot open source file "msp430.h"

1 catastrophic error detected in the compilation of "gpio/GPIOMSP430.c".
Compilation terminated.

>> Compilation failure
"spi/SPIEUSCIBDMA.c", line 44: fatal error: cannot open source file "msp430.h"
gmake[1]: *** [package/lib/lib/drivers_MSP430F5259_instrumented/./gpio/GPIOMSP43
0.oe430X] Error 11 catastrophic error detected in the compilation of "spi/SPIEUS
CIBDMA.c".
Compilation terminated.

"i2c/I2CUSCIB.c", line 46: fatal error: cannot open source file "msp430.h"

>> Compilation failure
1 catastrophic error detected in the compilation of "i2c/I2CUSCIB.c".
Compilation terminated.
gmake[1]: *** [package/lib/lib/drivers_MSP430F5259/./spi/SPIEUSCIBDMA.oe430X] Er
ror 1
"sdspi/SDSPIEUSCIB.c", line 51: fatal error: cannot open source file "msp430.h"

>> Compilation failure
1 catastrophic error detected in the compilation of "sdspi/SDSPIEUSCIB.c".
Compilation terminated.
"c:\ti\tirex-content\tirtos_msp43x_2_20_00_06\products\msp430_driverlib_2_70_01_
01a\driverlib\MSP430F5xx_6xx\inc/hw_memmap.h", line 41: fatal error: cannot open
source file "msp430.h"
"spi/SPIEUSCIBDMA.c", line 44: fatal error: cannot open source file "msp430.h"
1 catastrophic error detected in the compilation of "watchdog/WatchdogMSP430.c".

Compilation terminated.
1 catastrophic error detected in the compilation of "spi/SPIEUSCIBDMA.c".
Compilation terminated.

>> Compilation failure
"uart/UARTUSCIA.c", line 44: fatal error: cannot open source file "msp430.h"
gmake[1]:
>> Compilation failure
*** [package/lib/lib/drivers_MSP430F5259_instrumented/./i2c/I2CUSCIB.oe430X] Err
or 11 catastrophic error detected in the compilation of "uart/UARTUSCIA.c".
Compilation terminated.

>> Compilation failure

>> Compilation failure
"spi/SPIUSCIBDMA.c", line 44: fatal error: cannot open source file "msp430.h"
1 catastrophic error detected in the compilation of "spi/SPIUSCIBDMA.c".
Compilation terminated.
gmake[1]: *** [package/lib/lib/drivers_MSP430F5259/./sdspi/SDSPIEUSCIB.oe430X] E
rror 1
gmake[1]: *** [package/lib/lib/drivers_MSP430F5529_instrumented/./watchdog/Watch
dogMSP430.oe430X] Error 1
gmake[1]: *** [package/lib/lib/drivers_MSP430F5259_instrumented/./spi/SPIEUSCIBD
MA.oe430X] Error 1

>> Compilation failure
"spi/SPIEUSCIADMA.c", line 44: fatal error: cannot open source file "msp430.h"
gmake[1]: 1 catastrophic error detected in the compilation of "spi/SPIEUSCIADMA.
c".
Compilation terminated.
*** [package/lib/lib/drivers_MSP430F5259_instrumented/./uart/UARTUSCIA.oe430X] E
rror 1
gmake[1]: *** [package/lib/lib/drivers_MSP430F5259_instrumented/./spi/SPIUSCIBDM
A.oe430X] Error 1

>> Compilation failure
"c:\ti\tirex-content\tirtos_msp43x_2_20_00_06\products\msp430_driverlib_2_70_01_
01a\driverlib\MSP430F5xx_6xx\inc/hw_memmap.h", line 41: fatal error: cannot open
source file "msp430.h"
1 catastrophic error detected in the compilation of "watchdog/WatchdogMSP430.c".

Compilation terminated.

>> Compilation failure
gmake[1]: *** [package/lib/lib/drivers_MSP430F5259_instrumented/./spi/SPIEUSCIAD
MA.oe430X] Error 1
"c:\ti\tirex-content\tirtos_msp43x_2_20_00_06\products\msp430_driverlib_2_70_01_
01a\driverlib\MSP430F5xx_6xx\inc/hw_memmap.h", line 41: fatal error: cannot open
source file "msp430.h"
1 catastrophic error detected in the compilation of "gpio/GPIOMSP430.c".
Compilation terminated.
gmake[1]: *** [package/lib/lib/drivers_MSP430F5259_instrumented/./watchdog/Watch
dogMSP430.oe430X] Error 1

>> Compilation failure
gmake[1]: *** [package/lib/lib/drivers_MSP430F5259/./gpio/GPIOMSP430.oe430X] Err
or 1
"sdspi/SDSPIUSCIA.c", line 51: fatal error: cannot open source file "msp430.h"
1 catastrophic error detected in the compilation of "sdspi/SDSPIUSCIA.c".
Compilation terminated.
"sdspi/SDSPIUSCIB.c", line 51: fatal error: cannot open source file "msp430.h"
1 catastrophic error detected in the compilation of "sdspi/SDSPIUSCIB.c".
Compilation terminated.

>> Compilation failure

>> Compilation failure
"sdspi/SDSPIUSCIB.c", line 51: fatal error: cannot open source file "msp430.h"
gmake[1]: 1 catastrophic error detected in the compilation of "sdspi/SDSPIUSCIB.
c".
Compilation terminated.
*** [package/lib/lib/drivers_MSP430F5259_instrumented/./sdspi/SDSPIUSCIB.oe430X]
Error 1
gmake[1]:
>> Compilation failure
*** [package/lib/lib/drivers_MSP430F5259_instrumented/./sdspi/SDSPIUSCIA.oe430X]
Error 1"sdspi/SDSPIUSCIA.c", line 51: fatal error: cannot open source file "msp
430.h"

gmake[1]: 1 catastrophic error detected in the compilation of "sdspi/SDSPIUSCIA.
c".
Compilation terminated.
*** [package/lib/lib/drivers_MSP430F5259/./sdspi/SDSPIUSCIB.oe430X] Error 1
"c:\ti\tirex-content\tirtos_msp43x_2_20_00_06\products\msp430_driverlib_2_70_01_
01a\driverlib\MSP430F5xx_6xx\inc/hw_memmap.h", line 41: fatal error: cannot open
source file "msp430.h"
1 catastrophic error detected in the compilation of "i2c/I2CEUSCIB.c".
Compilation terminated.
"sdspi/SDSPIEUSCIA.c", line 51: fatal error: cannot open source file "msp430.h"

>> Compilation failure
1 catastrophic error detected in the compilation of "sdspi/SDSPIEUSCIA.c".
Compilation terminated.

>> Compilation failure
gmake[1]: *** [package/lib/lib/drivers_MSP430F5259/./sdspi/SDSPIUSCIA.oe430X] Er
ror 1
gmake[1]: *** [package/lib/lib/drivers_MSP430F5259_instrumented/./sdspi/SDSPIEUS
CIA.oe430X] Error 1
"sdspi/SDSPIEUSCIA.c", line 51: fatal error: cannot open source file "msp430.h"
1 catastrophic error detected in the compilation of "sdspi/SDSPIEUSCIA.c".
Compilation terminated.

>> Compilation failure
"c:\ti\tirex-content\tirtos_msp43x_2_20_00_06\products\msp430_driverlib_2_70_01_
01a\driverlib\MSP430F5xx_6xx\inc/hw_memmap.h", line 41: fatal error: cannot open
source file "msp430.h"
gmake[1]: *** [package/lib/lib/drivers_MSP430F5259/./sdspi/SDSPIEUSCIA.oe430X] E
rror 1
1 catastrophic error detected in the compilation of "wifi/WiFiCC3100.c".
Compilation terminated.

>> Compilation failure
"c:\ti\tirex-content\tirtos_msp43x_2_20_00_06\products\msp430_driverlib_2_70_01_
01a\driverlib\MSP430F5xx_6xx\inc/hw_memmap.h", line 41: fatal error: cannot open
source file "msp430.h"

>> Compilation failure
1 catastrophic error detected in the compilation of "i2c/I2CEUSCIB.c".
Compilation terminated.
gmake[1]: "c:\ti\tirex-content\tirtos_msp43x_2_20_00_06\products\msp430_driverli
b_2_70_01_01a\driverlib\MSP430F5xx_6xx\inc/hw_memmap.h", line 41: fatal error: c
annot open source file "msp430.h"
*** [package/lib/lib/drivers_MSP430F5259/./i2c/I2CEUSCIB.oe430X] Error 11 catast
rophic error detected in the compilation of "uart/UARTEUSCIA.c".
Compilation terminated.

>> Compilation failure
gmake[1]:
>> Compilation failure
*** [package/lib/lib/drivers_wifi_MSP430F5259/./wifi/WiFiCC3100.oe430X] Error 1
gmake[1]: *** [package/lib/lib/drivers_MSP430F5259_instrumented/./i2c/I2CEUSCIB.
oe430X] Error 1
gmake[1]: *** [package/lib/lib/drivers_MSP430F5259_instrumented/./uart/UARTEUSCI
A.oe430X] Error 1
xdctools_3_32_00_06_core\gmake.exe: *** [packages/ti/drivers,.libraries] Error 2

gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `c:/ti/tirex-content/tirtos_msp43x_2_20_00_06/produc
ts/tidrivers_msp43x_2_20_00_08'
gmake.exe: *** [drivers] Error 2

C:\ti\tirex-content\tirtos_msp43x_2_20_00_06>

我不知道怎么解决

gaoyang9992006:

错误提示中的库安装了吗。?

Susan Yang:

回复 x.c mo:

谢谢您的分享!

user4098830:

回复 x.c mo:

感谢您的分享!

user4098830:

感谢您的经验分享!

赞(0)
未经允许不得转载:TI中文支持网 » 移植MSP430F5529的TI-RTOS工程到MSP430F5259编译出现了问题
分享到: 更多 (0)