大神帮我看下
用IAR 8.50版本编译 CC1310 SDK提供的代码SDK版本是simplelink_cc13x0_sdk_4_10_01_01 ,编译总是出现,不知道是什么原因???
如下:错误
Building configuration: hello- DebugUpdating build tree…Performing Pre-Build Action
Error while running"c:/ti/xdctools_3_51_03_28_core/xs" –xdcpath="c:/ti/simplelink_cc13x0_sdk_4_10_01_01/kernel/tirtos/packages;c:/ti/simplelink_cc13x0_sdk_4_10_01_01/source"
iar.tools.configuro -c "D:\IAR\arm" –cc "D:\IAR\arm\bin\iccarm.exe" –device "CC1310F128"–compileOptions "dummy.c -D DeviceFamily_CC13X0 -o D:\lhj\1310_code\hello\Debug\Obj –no_cse –no_unroll –no_inline –no_code_motion –no_tbaa –no_clustering –no_scheduling –debug –endian=little –cpu=Cortex-M3 -f D:\lhj\1310_code\hello/configPkg/compiler.opt.defs –debug –silent -e –aeabi –thumb –diag_suppress=Pa050 -e –fpu=None –dlib_config D:\IAR\arm\inc\c\DLib_Config_Normal.h -I D:\lhj\1310_code\hello\ -I c:/ti/simplelink_cc13x0_sdk_4_10_01_01/source\ -I c:/ti/simplelink_cc13x0_sdk_4_10_01_01/source/ti/posix/iar\ -Ol" –linkOptions "–no_out_extension -o D:\lhj\1310_code\hello\Debug\Exe\hello.out –map D:\lhj\1310_code\hello\Debug\List\hello.map –config c:/ti/simplelink_cc13x0_sdk_4_10_01_01/examples/rtos/CC1310_LAUNCHXL/sysbios/hello/tirtos/iar/CC1310_LAUNCHXL_TIRTOS.icf -f D:\lhj\1310_code\hello/configPkg/linker.cmdc:/ti/simplelink_cc13x0_sdk_4_10_01_01/source/ti/display/lib/display.arm3c:/ti/simplelink_cc13x0_sdk_4_10_01_01/source/ti/grlib/lib/iar/m3/grlib.ac:/ti/simplelink_cc13x0_sdk_4_10_01_01/source/third_party/spiffs/lib/iar/m3/spiffs_cc26xx.ac:/ti/simplelink_cc13x0_sdk_4_10_01_01/source/ti/drivers/rf/lib/rf_multiMode_cc13x0.arm3c:/ti/simplelink_cc13x0_sdk_4_10_01_01/source/ti/drivers/lib/drivers_cc13x0.arm3c:/ti/simplelink_cc13x0_sdk_4_10_01_01/kernel/tirtos/packages/ti/dpl/lib/dpl_cc13x0.arm3c:/ti/simplelink_cc13x0_sdk_4_10_01_01/source/ti/devices/cc13x0/driverlib/bin/iar/driverlib.lib –silent–cpu=Cortex-M3–semihosting –entry__iar_program_start –vfe–text_out locale" –profilerelease –projFile "D:\lhj\1310_code\hello\hello.ewp"Total number of errors: 1Total number of warnings: 0Build failed.
FREERTOS_INSTALL_DIR c:/FreeRTOSv10.0.0
Kevin Qiu1:
看下编译器版本号和XDCTools版本是否正确
fghj dfghjk:
回复 Kevin Qiu1:
我IDE是IAR 5.50.5下的最新的,XDCTools版本是xdctools_3_51_03_28_core,是IAR版本太高了嘛。
fghj dfghjk:
回复 Kevin Qiu1:
CC13x0的SDK 我用的最新的是 Windows Installer for Simplelink CC13x0 SDK 4.10.01.01 Windows Installer for Simplelink CC13x0 SDK
Kevin Qiu1:
回复 fghj dfghjk:
看下编译器的版本,太高了会不兼容,另外参考这里检查下操作是否正确:dev.ti.com/…/node
fghj dfghjk:
回复 Kevin Qiu1:
安装了IAR 8.32.2版本,编译CC1310 SDK 4.10.01.01 的例程还是错误
错误内容:
Building configuration: em – Debug
Updating build tree…
0file(s) deleted.
Updating build tree…
Performing Pre-Build Action
Error while running iarbuild.exe
c:/ti/simplelink_cc13x0_sdk_4_10_01_01/kernel/tirtos/builds/CC1310_LAUNCHXL/release/iar/tirtos_builds_CC1310_LAUNCHXL_release.ewp
Debug -log all
Total number of errors: 1
Total number of warnings: 0这是哪的问题啊,是哪个软件没装好嘛,还SDK有问题啊。
Kevin Qiu1:
回复 fghj dfghjk:
需要导入到IAR的workspace中,直接打开编译会报错,按照我上面发的链接中的步骤操作
fghj dfghjk:
回复 Kevin Qiu1:
是的,1.新建workspace ,保存 2.新建工程,3.拷贝一分列程到到新建的工程目录下4.Add Project Connection 选 .ipcf文件 5.IAR -> Tools -> Configuration Custom Argument Variables6.最后Rebuild All最后最后。。。。。总是编译出错????这是什么问题啊。
我不是在SDK的原事列程序上编译的,都是新建的workspace新工程目录里面编译的。IARSDK我重新的好几次了还是编译邮问题。
我现在用的IAR是8.32.2SDK 用的是simplelink_cc13x0_sdk_4_10_01_01实际上SDK也试了simplelink_cc13x0_sdk_4_10_00_10simplelink_cc13x0_sdk_1_60_00_21都编译有问题。
fghj dfghjk:
回复 Kevin Qiu1:
CC1310 最新的SDK和哪个版本的IAR是匹配可用的啊。有明确的答案嘛????
Kevin Qiu1:
回复 fghj dfghjk:
看下安装目录C:\ti\simplelink_cc13x0_sdk_4_10_01_01下的release_notes_simplelink_cc13x0_sdk_4_10_01_01文件,里面有详细说明