CC2540协议栈升级到1.4.1编译不过的问题
我的工程是1.3.2上的,想升级到1.4.1,然后按照下面这个连接进行升级
http://processors.wiki.ti.com/index.php/LPRF_BLE_Porting_Projects#Default_Value_of_HAL_Components
到最后编译不过,如下面的错误,请问这个是什么问题?急。。。请大神们帮忙解答,不甚感激。
Error[e46]: Undefined external "GAPRole_ProcessEvent::?relay" referred in OSAL_timeapp ( D:\Texas Instruments\BLE-CC254x-1.4.1.43908b\Projects\ble\TimeApp_ANCS\CC2540\CC2540EM Slave\Obj\OSAL_timeapp.r51 )
Error[e46]: Undefined external "GAPRole_Init::?relay" referred in OSAL_timeapp ( D:\Texas Instruments\BLE-CC254x-1.4.1.43908b\Projects\ble\TimeApp_ANCS\CC2540\CC2540EM Slave\Obj\OSAL_timeapp.r51 )
Error[e46]: Undefined external "GAPRole_SetParameter::?relay" referred in timeapp ( D:\Texas Instruments\BLE-CC254x-1.4.1.43908b\Projects\ble\TimeApp_ANCS\CC2540\CC2540EM Slave\Obj\timeapp.r51 )
Error[e46]: Undefined external "GAPRole_StartDevice::?relay" referred in timeapp ( D:\Texas Instruments\BLE-CC254x-1.4.1.43908b\Projects\ble\TimeApp_ANCS\CC2540\CC2540EM Slave\Obj\timeapp.r51 )
Error[e46]: Undefined external "GAPRole_GetParameter::?relay" referred in timeapp ( D:\Texas Instruments\BLE-CC254x-1.4.1.43908b\Projects\ble\TimeApp_ANCS\CC2540\CC2540EM Slave\Obj\timeapp.r51 )
Error[e46]: Undefined external "GAPRole_TerminateConnection::?relay" referred in timeapp ( D:\Texas Instruments\BLE-CC254x-1.4.1.43908b\Projects\ble\TimeApp_ANCS\CC2540\CC2540EM Slave\Obj\timeapp.r51 )
应该是说明GAPRole_SetParameter等函数没有定义。您是否在工程文件中包含了相应的头文件?
您也可以先参考下之前给出的方法 http://www.deyisupport.com/question_answer/wireless_connectivity/zigbee/f/104/t/59042.aspx