CC3200 demo程序用CCS编译不过问题
Dear TI工程师,
我们在搭建好编译环境后,尝试编译sample中的程序,按照SDK中的CC3200-Getting_Started_Guide.pdf文档,一步步编译,driverlib,oslib,simplelink,ti_rtos_config都可以编译通过,但是wlan_station编译完成后,不能连接成功!提示如下log:
**** Build of configuration Release for project wlan_station ****
"c:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
'Building target: wlan_station.out'
'Invoking: ARM Linker'
"c:/ti/ccsv6/tools/compiler/arm_5.1.8/bin/armcl" -mv7M4 --code_state=16 --abi=eabi -me -O2 --fp_mode=strict -g --define=ccs --define=USE_TIRTOS --define=SL_PLATFORM_MULTI_THREADED --define=cc3200 --display_error_number --diag_warning=225 --diag_wrap=off -z -m"wlan_station.map" --heap_size=0x800 --stack_size=0x800 -i"c:/ti/ccsv6/tools/compiler/arm_5.1.8/lib" -i"c:/ti/ccsv6/tools/compiler/arm_5.1.8/include" --reread_libs --warn_sections --display_error_number --diag_wrap=off --xml_link_info="wlan_station_linkInfo.xml" --rom_model -l"C:/TI/CC3200SDK_1.0.0/cc3200-sdk/ti_rtos/ti_rtos_config/ccs/Default/configPkg/linker.cmd" -o "wlan_station.out" "./gpio_if.obj" "./main.obj" "./pinmux.obj" "./uart_if.obj" "../cc3200v1p32.cmd" -l"rtsv7M4_T_le_v4SPD16_eabi.lib" -l"C:/TI/CC3200SDK_1.0.0/cc3200-sdk/example/getting_started_with_wlan_station/ccs/../../../driverlib/ccs/Release/driverlib.a" -l"C:/TI/CC3200SDK_1.0.0/cc3200-sdk/example/getting_started_with_wlan_station/ccs/../../../simplelink/ccs/OS/simplelink.a" -l"C:/TI/CC3200SDK_1.0.0/cc3200-sdk/example/getting_started_with_wlan_station/ccs/../../../oslib/ccs/ti_rtos/ti_rtos.a"
<Linking>
error #16004-D: file "c:/ti/ccsv6/tools/compiler/arm_5.1.8/lib/rtsv7M4_T_le_v4SPD16_eabi.lib<memcpy_t2.obj>" has a Tag_ABI_VFP_args attribute value of "0" that is different than one previously seen ("1"); combining incompatible files
error #16004-D: file "c:/ti/ccsv6/tools/compiler/arm_5.1.8/lib/rtsv7M4_T_le_v4SPD16_eabi.lib<memset_t2.obj>" has a Tag_ABI_VFP_args attribute value of "0" that is different than one previously seen ("1"); combining incompatible files
error #16004-D: file "c:/ti/ccsv6/tools/compiler/arm_5.1.8/lib/rtsv7M4_T_le_v4SPD16_eabi.lib<u_divt2.obj>" has a Tag_ABI_VFP_args attribute value of "0" that is different than one previously seen ("1"); combining incompatible files
error #16004-D: file "c:/ti/ccsv6/tools/compiler/arm_5.1.8/lib/rtsv7M4_T_le_v4SPD16_eabi.lib<ull_div_t2.obj>" has a Tag_ABI_VFP_args attribute value of "0" that is different than one previously seen ("1"); combining incompatible files
>> Compilation failure
error #16004-D: file "c:/ti/ccsv6/tools/compiler/arm_5.1.8/lib/rtsv7M4_T_le_v4SPD16_eabi.lib<_printfi.obj>" has a Tag_ABI_VFP_args attribute value of "0" that is different than one previously seen ("1"); combining incompatible files
error #16004-D: file "c:/ti/ccsv6/tools/compiler/arm_5.1.8/lib/rtsv7M4_T_le_v4SPD16_eabi.lib<fd_add_t2.obj>" has a Tag_ABI_VFP_args attribute value of "0" that is different than one previously seen ("1"); combining incompatible files
error #16004-D: file "c:/ti/ccsv6/tools/compiler/arm_5.1.8/lib/rtsv7M4_T_le_v4SPD16_eabi.lib<fd_cmp_t2.obj>" has a Tag_ABI_VFP_args attribute value of "0" that is different than one previously seen ("1"); combining incompatible files
error #16004-D: file "c:/ti/ccsv6/tools/compiler/arm_5.1.8/lib/rtsv7M4_T_le_v4SPD16_eabi.lib<fd_div_t2.obj>" has a Tag_ABI_VFP_args attribute value of "0" that is different than one previously seen ("1"); combining incompatible files
error #16004-D: file "c:/ti/ccsv6/tools/compiler/arm_5.1.8/lib/rtsv7M4_T_le_v4SPD16_eabi.lib<fd_mul_t2.obj>" has a Tag_ABI_VFP_args attribute value of "0" that is different than one previously seen ("1"); combining incompatible files
error #16004-D: file "c:/ti/ccsv6/tools/compiler/arm_5.1.8/lib/rtsv7M4_T_le_v4SPD16_eabi.lib<fd_toi_t2.obj>" has a Tag_ABI_VFP_args attribute value of "0" that is different than one previously seen ("1"); combining incompatible files
error #16004-D: file "c:/ti/ccsv6/tools/compiler/arm_5.1.8/lib/rtsv7M4_T_le_v4SPD16_eabi.lib<i_tofd_t2.obj>" has a Tag_ABI_VFP_args attribute value of "0" that is different than one previously seen ("1"); combining incompatible files
error #16004-D: file "c:/ti/ccsv6/tools/compiler/arm_5.1.8/lib/rtsv7M4_T_le_v4SPD16_eabi.lib<ll_mul_t2.obj>" has a Tag_ABI_VFP_args attribute value of "0" that is different than one previously seen ("1"); combining incompatible files
error #16004-D: file "c:/ti/ccsv6/tools/compiler/arm_5.1.8/lib/rtsv7M4_T_le_v4SPD16_eabi.lib<xdclass.obj>" has a Tag_ABI_VFP_args attribute value of "0" that is different than one previously seen ("1"); combining incompatible files
error #16004-D: file "c:/ti/ccsv6/tools/compiler/arm_5.1.8/lib/rtsv7M4_T_le_v4SPD16_eabi.lib<ll_lsr_t2.obj>" has a Tag_ABI_VFP_args attribute value of "0" that is different than one previously seen ("1"); combining incompatible files
error #10010: errors encountered during linking; "wlan_station.out" not built
gmake: *** [wlan_station.out] Error 1
gmake: Target `all' not remade because of errors.
**** Build Finished ****
在网上看到,这个错误是由于wlan_station项目选择的floating设置和rtsv7M4_T_le_v4SPD16_xo_eabi.lib中的不一样。
我们做了如下尝试:
1. 修改wlan_station属性中ARM Compiler->Processor Options下的flosting point support值,不管是[空], [VFPv2], [VFPv3],[VFPv3D16],[vfplib],[fpalib],[FPv4SPD16]都不行,连接还是出错。
2. 尝试切换Compiler version 从TI v5.1.8到 TI v5.1.6, 问题依旧。
3. 尝试改变Runtime support library为, rtsv7M4_T_le_v4SPD16_eabi.lib 和 rtsv7M4_T_le_v4SPD16_xo_eabi.lib以及其他库文件都不行。
请帮忙看下是哪里的问题?
请问有没有介绍自己编译Runtime support library文件相关文档?
相关系统信息:
芯片:CC3200
CCS版本:Version: 6.0.1.00040
TI ARM Compiler版本:v5.1.8 和 v5.1.6
Demo项目:wlan_station (相关库driverlib,oslib,simplelink,ti_rtos_config)
电脑信息:Win7 32bit
不知道你这个问题解决了没有,其实只要在CCS的项目属性里面更改runtime support library 位automatic就行,不需要选择其他的任何库。
选好以后再rebuild 一下你的工程,就能成功。
谢谢
在另一台电脑上重新安装环境就好了,这台电脑上的环境怎么装都有问题,不清楚哪里出了问题
Xing,
您好!
可能还是兼容性的问题,毕竟是软件,卸载重新安装试试看吧~Good luck~