微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 无线和射频 > TI蓝牙设计交流 > cc2640 编译问题

cc2640 编译问题

时间:10-02 整理:3721RD 点击:

Error[Li005]: no definition for "driverlib_release_0_43243" [referenced from mangled__BIOS_lib.obj(sysbios.arm3)]

编译application完后以上问题,stack编译没问题。

环境如下:

C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR

C:\ti\tirtos_simplelink_2_13_01_09

C:\ti\tirtos_simplelink_2_13_01_09\products\cc26xxware_2_23_00_16374

IAR: IAR Embedded Workbench for ARM Version 7.40.2.8570

If you look at the DRIVERLIB_ASSERT_CURR_RELEASE in driverlib_release.h it is explained how you can override (at your own risk) this lock to version by using the DRIVERLIB_DECLARE_RELEASE() macro.

Hi butterfly, thanks for your feedback. 

I trace this issue to C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Config\src\sysbios\mangled__BIOS_lib.pp file,

the content is "  #line 1 "C:/ti/tirtos_simplelink_2_13_00_06/products/bios_6_42_00_08/packages/ti/sysbios/BIOS.c"   ",  this path itsn't  C:/ti/tirtos_simplelink_2_13_01_09/products/bios_6_42_00_08/packages/ti/sysbios/BIOS.c,  so the dirverlib_release_x_xxxxx error.

when I change the C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\SimpleBLEPeripheral.custom_argvars

<?xml version="1.0" encoding="iso-8859-1"?>

<iarUserArgVars>
<group active="true" name="CC26xx TI-RTOS">
<variable>
<name>TI_RTOS_DRIVERS_BASE</name>
<value>C:\ti\tirtos_simplelink_2_13_00_06\packages</value>
</variable>
<variable>
<name>CC26XXWARE</name>
<value>C:\ti\tirtos_simplelink_2_13_00_06\products\cc26xxware_2_21_01_15600</value>
</variable>
<variable>
<name>XDCROOT</name>
<value>C:\ti\xdctools_3_31_01_33_core</value>
</variable>
<variable>
<name>XDCPATH</name>
<value>C:\ti\tirtos_simplelink_2_13_00_06\products\bios_6_42_00_08\packages</value>
</variable>
<variable>
<name>BOUNDARY</name>
<value>C:\Program Files (x86)\Texas Instruments\Boundary</value>
</variable>
</group>
</iarUserArgVars>

and reload it to IAR workspace,  build stack&application it's OK, but running this application error:

I'm not sure what problem to cause this issue, but old project download to this board is OK.

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top