This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/CC2650: TI RTOS BIOS mangled

Part Number: CC2650
Other Parts Discussed in Thread: SYSBIOS,

Tool/software: TI-RTOS

Hello,

I am working on a CC2650 BLE Project and i am trying to change the RTOS from 2.13.0.06 to 2.14.1.20. I am facing linking error with sysbios. How to resolve these linking errors.

Following are the errors

Description Resource Path Location Type
#10010 errors encountered during linking; "multi_role.out" not built multi_role C/C++ Problem
<a href="file:/c:/ti/ccsv6/tools/compiler/dmed/HTML/10234.html">#10234-D</a> unresolved symbols remain multi_role C/C++ Problem
gmake: *** [multi_role.out] Error 1 multi_role C/C++ Problem
gmake: Target 'all' not remade because of errors. multi_role C/C++ Problem
Undefined reference to 'ti_sysbios_family_arm_cc26xx_Power_LF_clockFunc__I' in file F:\Gourang\Multirole_Launchpad_01\multi_role\FlashROM\configPkg\package\cfg\appBLE_pem3.oem3 .xdchelp /multi_role C/C++ Problem
Undefined reference to 'ti_sysbios_family_arm_cc26xx_Power_RCOSC_clockFunc__I' in file F:\Gourang\Multirole_Launchpad_01\multi_role\FlashROM\configPkg\package\cfg\appBLE_pem3.oem3 .xdchelp /multi_role C/C++ Problem
Undefined reference to 'ti_sysbios_family_arm_cc26xx_Power_XOSC_HF_clockFunc__I' in file F:\Gourang\Multirole_Launchpad_01\multi_role\FlashROM\configPkg\package\cfg\appBLE_pem3.oem3 .xdchelp /multi_role C/C++ Problem
Undefined reference to 'ti_sysbios_knl_Clock_triggerFunc__I' in file F:\Gourang\Multirole_Launchpad_01\multi_role\FlashROM\configPkg\package\cfg\appBLE_pem3.oem3 .xdchelp /multi_role C/C++ Problem
unresolved symbol Board_initKeys, first referenced in <whole-program> multi_role C/C++ Problem
unresolved symbol driverlib_release_0_43243, first referenced in C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\NewMesh\CC26xx\CCS\Config\src\sysbios\sysbios.aem3<mangled__BIOS_lib.obj> multi_role C/C++ Problem
unresolved symbol ti_sysbios_family_arm_cc26xx_Power_constraintCounts, first referenced in F:\Gourang\Multirole_Launchpad_01\multi_role\FlashROM\configPkg\package\cfg\appBLE_pem3.oem3 multi_role C/C++ Problem
unresolved symbol ti_sysbios_family_arm_cc26xx_Power_db, first referenced in F:\Gourang\Multirole_Launchpad_01\multi_role\FlashROM\configPkg\package\cfg\appBLE_pem3.oem3 multi_role C/C++ Problem
unresolved symbol ti_sysbios_family_arm_cc26xx_Power_isDependencyActive, first referenced in C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\NewMesh\CC26xx\CCS\Config\src\sysbios\sysbios.aem3<mangled__BIOS_lib.obj> multi_role C/C++ Problem
unresolved symbol ti_sysbios_family_arm_cc26xx_Power_refCount, first referenced in F:\Gourang\Multirole_Launchpad_01\multi_role\FlashROM\configPkg\package\cfg\appBLE_pem3.oem3 multi_role C/C++ Problem
unresolved symbol ti_sysbios_family_arm_cc26xx_Power_resourceHandlers, first referenced in F:\Gourang\Multirole_Launchpad_01\multi_role\FlashROM\configPkg\package\cfg\appBLE_pem3.oem3 multi_role C/C++ Problem
unresolved symbol ti_sysbios_family_arm_cc26xx_Power_XOSC_HF, first referenced in C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\NewMesh\CC26xx\CCS\Config\src\sysbios\sysbios.aem3<mangled__BIOS_lib.obj> multi_role C/C++ Problem
unresolved symbol ti_sysbios_knl_Clock_stop__E, first referenced in <whole-program> multi_role C/C++ Problem

Thanks,

Gourang

  • Gourang,

    Do you do a clean / build after moving to the new version?

    Can you show the link part of the build? Also, can you attach the debug/linker.cmd file that was generated?

    Todd
  • Thanks for the reply. The xdc errors were resolved after i restarted the computer.
    Now, I followed the guide available at
    github.com/.../simple_ble_peripheral_tirtos_2p15
    for charging the rtos.
    Now I dont have xdc errors. but have power identifier undefined errors, they are as follows

    Description Resource Path Location Type
    #20 identifier "Power_AWAKE_STANDBY_LATE" is undefined ICallCC2650.c /multi_role/ICall line 125 C/C++ Problem
    #20 identifier "Power_AWAKE_STANDBY_LATE" is undefined ICallCC2650.c /multi_role/ICall line 312 C/C++ Problem
    #20 identifier "Power_AWAKE_STANDBY" is undefined ICallCC2650.c /multi_role/ICall line 116 C/C++ Problem
    #20 identifier "Power_AWAKE_STANDBY" is undefined ICallCC2650.c /multi_role/ICall line 311 C/C++ Problem
    #20 identifier "Power_Constraint" is undefined ICallCC2650.c /multi_role/ICall line 157 C/C++ Problem
    #20 identifier "Power_Constraint" is undefined ICallCC2650.c /multi_role/ICall line 187 C/C++ Problem
    #20 identifier "Power_ENTERING_SHUTDOWN1" is undefined ICallCC2650.c /multi_role/ICall line 122 C/C++ Problem
    #20 identifier "Power_ENTERING_SHUTDOWN1" is undefined ICallCC2650.c /multi_role/ICall line 310 C/C++ Problem
    #20 identifier "Power_ENTERING_STANDBY" is undefined ICallCC2650.c /multi_role/ICall line 119 C/C++ Problem
    #20 identifier "Power_ENTERING_STANDBY" is undefined ICallCC2650.c /multi_role/ICall line 309 C/C++ Problem
    #20 identifier "Power_Event" is undefined ICallCC2650.c /multi_role/ICall line 306 C/C++ Problem
    #20 identifier "Power_Event" is undefined ICallCC2650.c /multi_role/ICall line 308 C/C++ Problem
    #60 function call is not allowed in a constant expression ICallCC2650.c /multi_role/ICall line 308 C/C++ Problem
    gmake: *** [ICall/ICallCC2650.obj] Error 1 multi_role C/C++ Problem
    gmake: Target 'all' not remade because of errors. multi_role C/C++ Problem


    the errors are from ICallCC2650.c file. Please inform me which file to include to define these identifiers

    Thanks

    Gourang
  • Hi Gourang,

    Can you attach the compile line? The defines are in C:\ti\tirtos_simplelink_2_14_01_20\products\bios_6_42_02_29\packages\ti\sysbios\family\arm\cc26xx\Power.h and when I look in ICallCC2650.c and it has the following includes

    #include <ti/sysbios/family/arm/cc26xx/Power.h>
    #include <ti/sysbios/family/arm/cc26xx/PowerCC2650.h>

    There is a little funky #if logic in Power.h, but it should be working.

    Todd
  • Todd,
    I followed the RTOS migration guide again with fresh project, now i don't have any errors. Thanks for the Help.