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

cc2650 SensorTag Dvpk例程编译一直报错,请帮忙指点一下。

以前用8位的射频IC从来没遇到这么多问题,刚刚转移到Ti的Arm平台,还比较晕,希望能得到大家的帮助和支持。

之前2.0版本BLE协议栈自带例程都没有问题,但是到了2.1就没有办法编译成功了,因为我要用显示驱动,希望能获得一些帮助。

这是CC2650 Sensortag的例程主程序包编译的结果,请求帮助,谢谢!

Error[Li005]: no definition for "ti_sysbios_BIOS_start__E" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\main.o]Error[Li005]: no definition for "ti_sysbios_knl_Task_Params__init__S" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\SensorTag_Bar.o]Error[Li005]: no definition for "ti_sysbios_knl_Task_construct" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\SensorTag_Bar.o]Error[Li005]: no definition for "ti_sysbios_knl_Task_setPri__E" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\SensorTag_Bar.o]Error[Li005]: no definition for "ti_sysbios_knl_Task_sleep__E" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\SensorTag_Bar.o]Error[Li005]: no definition for "ti_sysbios_family_arm_m3_Hwi_restoreFxn__E" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\ICall.o]Error[Li005]: no definition for "ti_sysbios_knl_Task_restore__E" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\ICall.o]Error[Li005]: no definition for "ti_sysbios_knl_Task_disable__E" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\ICall.o]Error[Li005]: no definition for "ti_sysbios_family_arm_m3_Hwi_disableFxn__E" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\ICall.o]Error[Li005]: no definition for "ti_sysbios_knl_Semaphore_post__E" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\bsp_i2c.o]Error[Li005]: no definition for "ti_sysbios_family_arm_cc26xx_Power_setConstraint__E" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\I2CCC26XX.o]Error[Li005]: no definition for "ti_sysbios_knl_Semaphore_pend__E" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\I2CCC26XX.o]Error[Li005]: no definition for "ti_sysbios_family_arm_m3_Hwi_disableInterrupt__E" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\I2CCC26XX.o]Error[Li005]: no definition for "ti_sysbios_family_arm_m3_Hwi_enableInterrupt__E" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\I2CCC26XX.o]Error[Li005]: no definition for "ti_sysbios_family_arm_cc26xx_Power_releaseConstraint__E" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\I2CCC26XX.o]Error[Li005]: no definition for "NOROM_CPUdelay" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\I2CCC26XX.o]Error[Li005]: no definition for "ti_sysbios_family_arm_m3_Hwi_Params__init__S" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\I2CCC26XX.o]Error[Li005]: no definition for "ti_sysbios_family_arm_m3_Hwi_construct" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\I2CCC26XX.o]Error[Li005]: no definition for "ti_sysbios_knl_Semaphore_Params__init__S" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\I2CCC26XX.o]Error[Li005]: no definition for "ti_sysbios_knl_Semaphore_construct" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\I2CCC26XX.o]Error[Li005]: no definition for "ti_sysbios_family_arm_cc26xx_Power_setDependency__E" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\I2CCC26XX.o]Error[Li005]: no definition for "ti_sysbios_family_arm_cc26xx_Power_registerNotify__E" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\I2CCC26XX.o]Error[Li005]: no definition for "ti_sysbios_BIOS_getCpuFreq__E" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\I2CCC26XX.o]Error[Li005]: no definition for "ti_sysbios_family_arm_cc26xx_Power_releaseDependency__E" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\I2CCC26XX.o]Error[Li005]: no definition for "ti_sysbios_family_arm_m3_Hwi_destruct" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\I2CCC26XX.o]Error[Li005]: no definition for "ti_sysbios_knl_Semaphore_destruct" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\I2CCC26XX.o]Error[Li005]: no definition for "ti_sysbios_family_arm_cc26xx_Power_unregisterNotify__E" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\I2CCC26XX.o]Error[Li005]: no definition for "ti_sysbios_knl_Clock_tickPeriod__C" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\bsp_i2c.o]Error[Li005]: no definition for "ti_sysbios_knl_Queue_enqueue__E" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\util.o]Error[Li005]: no definition for "ti_sysbios_knl_Queue_empty__E" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\SensorTag.o]Error[Li005]: no definition for "ti_sysbios_knl_Queue_dequeue__E" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\SensorTag.o]Error[Li005]: no definition for "ti_sysbios_knl_Task_exit__E" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\bsp_spi.o]Error[Li005]: no definition for "ti_sysbios_family_arm_cc26xx_Power_getDependencyCount__E" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\UDMACC26XX.o]Error[Li005]: no definition for "NOROM_FlashSectorErase" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\oad_target_externalFlash.o]Error[Li005]: no definition for "NOROM_FlashProgram" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\oad_target_externalFlash.o]Error[Li005]: no definition for "ti_sysbios_knl_Clock_start__E" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\util.o]Error[Li005]: no definition for "ti_sysbios_knl_Clock_stop__E" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\util.o]Error[Li005]: no definition for "ti_sysbios_knl_Clock_isActive__E" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\util.o]Error[Li005]: no definition for "ti_sysbios_knl_Clock_setTimeout__E" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\util.o]Error[Li005]: no definition for "ti_sysbios_knl_Clock_setPeriod__E" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\util.o]Error[Li005]: no definition for "ti_sysbios_knl_Clock_Params__init__S" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\SensorTag_IO.o]Error[Li005]: no definition for "ti_sysbios_knl_Clock_construct" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\SensorTag_IO.o]Error[Li005]: no definition for "ti_sysbios_knl_Queue_construct" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\util.o]Error[Li005]: no definition for "ti_sysbios_knl_Clock_getTicks__E" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\SensorTag_Keys.o]Error[Li005]: no definition for "ti_sysbios_knl_Task_create" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\ICall.o]Error[Li005]: no definition for "ti_sysbios_knl_Semaphore_create" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\ICall.o]Error[Li005]: no definition for "ti_sysbios_hal_Hwi_create" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\ICall.o]Error[Li005]: no definition for "ti_sysbios_hal_Hwi_Params__init__S" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\ICall.o]Error[Li005]: no definition for "ti_sysbios_family_arm_cc26xx_Power_getXoscStartupTime__E" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\ICallCC2650.o]Error[Li005]: no definition for "ti_sysbios_family_arm_cc26xx_Power_switchXOSC_HF__E" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\ICallCC2650.o]Error[Li005]: no definition for "ti_sysbios_family_arm_cc26xx_Power_getTransitionState__E" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\ICallCC2650.o]Error[Li005]: no definition for "ti_sysbios_family_arm_cc26xx_Power_isStableXOSC_HF__E" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\ICallCC2650.o]Error[Li005]: no definition for "ti_sysbios_BIOS_getThreadType__E" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\ICall.o]Error[Li005]: no definition for "ti_sysbios_knl_Task_self__E" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\ICall.o]Error[Li005]: no definition for "ti_sysbios_knl_Clock_create" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\ICall.o]Error[Li005]: no definition for "ti_sysbios_family_arm_m3_Hwi_enableFxn__E" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\ICall.o]Error[Li005]: no definition for "ti_sysbios_knl_Task_enable__E" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\ICall.o]Error[Li005]: no definition for "ti_sysbios_hal_Hwi_disableInterrupt__E" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\ICall.o]Error[Li005]: no definition for "ti_sysbios_hal_Hwi_enableInterrupt__E" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\ICall.o]Error[Li005]: no definition for "ChipInfo_GetChipFamily" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\PINCC26XX.o]Error[Li005]: no definition for "ChipInfo_GetPackageType" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\PINCC26XX.o]Error[Li005]: no definition for "driverlib_release_0_43243" [referenced from C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx\IAR\Application\CC2650\FlashOnlyOADLCD\Obj\PINCC26XX.o]Error while running Linker

HG:

升级一下ti_sysbios_BIOS试试呢

Yingtao Qian:

回复 HG:

能否提供一个和2.1协议栈配合编译sensortag例程经过验证没有问题的sysbios版本?谢谢

user5318699:

回复 Yingtao Qian:

楼主问题解决没,我也遇到了同样的问题

YiKai Chen:

回复 user5318699:

應該是你用的IAR的版本問題,可以看一下安裝目錄下 release_notes_BLE_Stack_xxxx.html裡面標注的IAR版本用來編譯例程

lu liu91:

回复 user5318699:

我也遇到了 你们解决没有?

YiKai Chen:

回复 lu liu91:

你用的协议栈和IAR版本是?

lu liu91:

回复 YiKai Chen:

你好

我的协议栈是ble_sdk_2_02_02_25 ,IAR7.80.4    ,CC2640F128芯片 用的都是例程。

我是声明了Event_Params_init等Event.h相关函数全都报错类似报错:

跳转之类的没有任何问题,整个电脑只有一个Event.h 也不存在路径错误。

并且所有的片外OAD的模式的工程全都有这种报错,而ROM模式下的全都没有。

据个人观察可能是和这个文件有关:rom_sysbios.obj

user5318699:

回复 lu liu91:

如果所有办法都试了,还是不行,建议:换台电脑w10系统的试试,IAR版本和协议栈官例版本一致,协议栈管理员默认安装路径

lu liu91:

回复 user5318699:

感谢回答
IAR按照官方版本,SDK都是默认路径 WIN10电脑,也许这就是命运吧。。。。。(手动捂脸哭)

赞(0)
未经允许不得转载:TI中文支持网 » cc2650 SensorTag Dvpk例程编译一直报错,请帮忙指点一下。
分享到: 更多 (0)