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.

Custom 2640 board SimpleBLEPeripheral project

Other Parts Discussed in Thread: SYSBIOS, BLE-STACK

Hi,

We have a custom 2640 board 4x4 size. I used the compiler settings recommended in this

thread, removing the LCD and DMA options to run the SimpleBLEPeripheral example. I am trying

to add IOC function calls to this project for the custom board. 

CC2640: How to config CC2640 with 4x4 HW?

 I am getting a ton of build errors for this. I have pasted the errors below. I appreciate pointers

on what might be the issue.

Thank you,

Priya

 

Resource Description Path Location Type
SimpleBLEPeripheral #10010 errors encountered during linking; "SimpleBLEPeripheral.out" not built C/C++ Problem
peripheral.c #20 identifier "ICall_EntityID" is undefined /SimpleBLEPeripheral/PROFILES line 132 C/C++ Problem
peripheral.c #20 identifier "ICall_EntityID" is undefined /SimpleBLEPeripheral/PROFILES line 872 C/C++ Problem
simpleBLEPeripheral.c #20 identifier "ICall_EntityID" is undefined /SimpleBLEPeripheral/Application line 165 C/C++ Problem
simpleBLEPeripheral.c #20 identifier "ICall_EntityID" is undefined /SimpleBLEPeripheral/Application line 559 C/C++ Problem
peripheral.c #20 identifier "ICALL_ERRNO_SUCCESS" is undefined /SimpleBLEPeripheral/PROFILES line 870 C/C++ Problem
simpleBLEPeripheral.c #20 identifier "ICALL_ERRNO_SUCCESS" is undefined /SimpleBLEPeripheral/Application line 557 C/C++ Problem
peripheral.c #20 identifier "ICall_Errno" is undefined /SimpleBLEPeripheral/PROFILES line 868 C/C++ Problem
simpleBLEPeripheral.c #20 identifier "ICall_Errno" is undefined /SimpleBLEPeripheral/Application line 555 C/C++ Problem
peripheral.c #20 identifier "ICall_Semaphore" is undefined /SimpleBLEPeripheral/PROFILES line 135 C/C++ Problem
simpleBLEPeripheral.c #20 identifier "ICall_Semaphore" is undefined /SimpleBLEPeripheral/Application line 168 C/C++ Problem
peripheral.c #20 identifier "ICALL_SERVICE_CLASS_BLE" is undefined /SimpleBLEPeripheral/PROFILES line 879 C/C++ Problem
simpleBLEPeripheral.c #20 identifier "ICALL_SERVICE_CLASS_BLE" is undefined /SimpleBLEPeripheral/Application line 568 C/C++ Problem
peripheral.c #20 identifier "ICall_ServiceEnum" is undefined /SimpleBLEPeripheral/PROFILES line 873 C/C++ Problem
simpleBLEPeripheral.c #20 identifier "ICall_ServiceEnum" is undefined /SimpleBLEPeripheral/Application line 560 C/C++ Problem
peripheral.c #20 identifier "ICALL_TIMEOUT_FOREVER" is undefined /SimpleBLEPeripheral/PROFILES line 868 C/C++ Problem
simpleBLEPeripheral.c #20 identifier "ICALL_TIMEOUT_FOREVER" is undefined /SimpleBLEPeripheral/Application line 555 C/C++ Problem
SimpleBLEPeripheral <a href="file:/c:/ti/ccsv6/tools/compiler/dmed/HTML/10234.html">#10234-D</a> unresolved symbols remain C/C++ Problem
SimpleBLEPeripheral unresolved symbol __aeabi_lmul, first referenced in C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\CCS\Config\src\sysbios\sysbios.aem3<mangled__BIOS_lib.obj> C/C++ Problem
SimpleBLEPeripheral unresolved symbol __aeabi_uldivmod, first referenced in C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\CCS\Config\src\sysbios\sysbios.aem3<mangled__BIOS_lib.obj> C/C++ Problem
SimpleBLEPeripheral unresolved symbol __TI_decompress_none C/C++ Problem
SimpleBLEPeripheral unresolved symbol __TI_decompress_rle24 C/C++ Problem
SimpleBLEPeripheral unresolved symbol __TI_zero_init C/C++ Problem
SimpleBLEPeripheral unresolved symbol _args_main, first referenced in C:\ti\tirtos_simplelink_2_13_00_06\products\bios_6_42_00_08\packages\ti\targets\arm\rtsarm\lib\boot.aem3<boot.oem3> C/C++ Problem
SimpleBLEPeripheral unresolved symbol _nop, first referenced in C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\CCS\SimpleBLEPeripheral\FlashROM\configPkg\package\cfg\appBLE_pem3.oem3 C/C++ Problem
SimpleBLEPeripheral unresolved symbol _register_lock, first referenced in C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\CCS\SimpleBLEPeripheral\FlashROM\configPkg\package\cfg\appBLE_pem3.oem3 C/C++ Problem
SimpleBLEPeripheral unresolved symbol _register_unlock, first referenced in C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\CCS\SimpleBLEPeripheral\FlashROM\configPkg\package\cfg\appBLE_pem3.oem3 C/C++ Problem
SimpleBLEPeripheral unresolved symbol copy_in, first referenced in C:\ti\tirtos_simplelink_2_13_00_06\products\bios_6_42_00_08\packages\ti\targets\arm\rtsarm\lib\auto_init.aem3<auto_init.oem3> C/C++ Problem
SimpleBLEPeripheral unresolved symbol NOROM_AONRTCCurrentCompareValueGet, first referenced in C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\CCS\Config\src\sysbios\sysbios.aem3<mangled__BIOS_lib.obj> C/C++ Problem
SimpleBLEPeripheral unresolved symbol NOROM_CPUcpsid, first referenced in C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\CCS\Config\src\sysbios\sysbios.aem3<mangled__BIOS_lib.obj> C/C++ Problem
SimpleBLEPeripheral unresolved symbol NOROM_CPUcpsie, first referenced in C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\CCS\Config\src\sysbios\sysbios.aem3<mangled__BIOS_lib.obj> C/C++ Problem
SimpleBLEPeripheral unresolved symbol NOROM_DDI16BitfieldWrite, first referenced in C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\CCS\Config\src\sysbios\sysbios.aem3<mangled__BIOS_lib.obj> C/C++ Problem
SimpleBLEPeripheral unresolved symbol NOROM_OSCClockSourceGet, first referenced in C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\CCS\SimpleBLEPeripheral\FlashROM\configPkg\package\cfg\appBLE_pem3.oem3 C/C++ Problem
SimpleBLEPeripheral unresolved symbol NOROM_OSCInterfaceEnable, first referenced in C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\CCS\Config\src\sysbios\sysbios.aem3<mangled__BIOS_lib.obj> C/C++ Problem
SimpleBLEPeripheral unresolved symbol NOROM_VIMSModeGet, first referenced in C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\CCS\Config\src\sysbios\sysbios.aem3<mangled__BIOS_lib.obj> C/C++ Problem
SimpleBLEPeripheral unresolved symbol OSCHF_AttemptToSwitchToXosc, first referenced in C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\CCS\SimpleBLEPeripheral\FlashROM\configPkg\package\cfg\appBLE_pem3.oem3 C/C++ Problem
SimpleBLEPeripheral unresolved symbol OSCHF_SwitchToRcOscTurnOffXosc, first referenced in C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\CCS\SimpleBLEPeripheral\FlashROM\configPkg\package\cfg\appBLE_pem3.oem3 C/C++ Problem
SimpleBLEPeripheral unresolved symbol OSCHF_TurnOnXosc, first referenced in C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\CCS\SimpleBLEPeripheral\FlashROM\configPkg\package\cfg\appBLE_pem3.oem3 C/C++ Problem
SimpleBLEPeripheral unresolved symbol SysCtrl_DCDC_VoltageConditionalControl, first referenced in C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\CCS\Config\src\sysbios\sysbios.aem3<mangled__BIOS_lib.obj> C/C++ Problem
SimpleBLEPeripheral unresolved symbol SysCtrlAdjustRechargeAfterPowerDown, first referenced in C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\CCS\Config\src\sysbios\sysbios.aem3<mangled__BIOS_lib.obj> C/C++ Problem
SimpleBLEPeripheral unresolved symbol SysCtrlSetRechargeBeforePowerDown, first referenced in C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\CCS\Config\src\sysbios\sysbios.aem3<mangled__BIOS_lib.obj> C/C++ Problem
devinfoservice.c #145-D a value of type "int" cannot be used to initialize an entity of type "uint8 *" /SimpleBLEPeripheral/PROFILES line 519 C/C++ Problem
simpleBLEPeripheral.c #515-D a value of type "int" cannot be assigned to an entity of type "sbpEvt_t *" /SimpleBLEPeripheral/Application line 1167 C/C++ Problem
peripheral.c <a href="file:/c:/ti/ccsv6/tools/compiler/dmed/HTML/225.html">#225-D</a> function "ICall_fetchServiceMsg" declared implicitly /SimpleBLEPeripheral/PROFILES line 876 C/C++ Problem
simpleBLEPeripheral.c <a href="file:/c:/ti/ccsv6/tools/compiler/dmed/HTML/225.html">#225-D</a> function "ICall_fetchServiceMsg" declared implicitly /SimpleBLEPeripheral/Application line 563 C/C++ Problem
devinfoservice.c <a href="file:/c:/ti/ccsv6/tools/compiler/dmed/HTML/225.html">#225-D</a> function "ICall_free" declared implicitly /SimpleBLEPeripheral/PROFILES line 525 C/C++ Problem
simpleBLEPeripheral.c <a href="file:/c:/ti/ccsv6/tools/compiler/dmed/HTML/225.html">#225-D</a> function "ICall_free" declared implicitly /SimpleBLEPeripheral/Application line 604 C/C++ Problem
peripheral.c <a href="file:/c:/ti/ccsv6/tools/compiler/dmed/HTML/225.html">#225-D</a> function "ICall_freeMsg" declared implicitly /SimpleBLEPeripheral/PROFILES line 902 C/C++ Problem
simpleBLEPeripheral.c <a href="file:/c:/ti/ccsv6/tools/compiler/dmed/HTML/225.html">#225-D</a> function "ICall_freeMsg" declared implicitly /SimpleBLEPeripheral/Application line 590 C/C++ Problem
simpleBLEPeripheral.c <a href="file:/c:/ti/ccsv6/tools/compiler/dmed/HTML/225.html">#225-D</a> function "ICall_freeMsg" declared implicitly /SimpleBLEPeripheral/Application line 801 C/C++ Problem
devinfoservice.c <a href="file:/c:/ti/ccsv6/tools/compiler/dmed/HTML/225.html">#225-D</a> function "ICall_malloc" declared implicitly /SimpleBLEPeripheral/PROFILES line 519 C/C++ Problem
simpleBLEPeripheral.c <a href="file:/c:/ti/ccsv6/tools/compiler/dmed/HTML/225.html">#225-D</a> function "ICall_malloc" declared implicitly /SimpleBLEPeripheral/Application line 1167 C/C++ Problem
simpleGATTprofile.c <a href="file:/c:/ti/ccsv6/tools/compiler/dmed/HTML/225.html">#225-D</a> function "ICall_malloc" declared implicitly /SimpleBLEPeripheral/PROFILES line 373 C/C++ Problem
peripheral.c <a href="file:/c:/ti/ccsv6/tools/compiler/dmed/HTML/225.html">#225-D</a> function "ICall_registerApp" declared implicitly /SimpleBLEPeripheral/PROFILES line 813 C/C++ Problem
simpleBLEPeripheral.c <a href="file:/c:/ti/ccsv6/tools/compiler/dmed/HTML/225.html">#225-D</a> function "ICall_registerApp" declared implicitly /SimpleBLEPeripheral/Application line 371 C/C++ Problem
peripheral.c <a href="file:/c:/ti/ccsv6/tools/compiler/dmed/HTML/225.html">#225-D</a> function "ICall_wait" declared implicitly /SimpleBLEPeripheral/PROFILES line 868 C/C++ Problem
simpleBLEPeripheral.c <a href="file:/c:/ti/ccsv6/tools/compiler/dmed/HTML/225.html">#225-D</a> function "ICall_wait" declared implicitly /SimpleBLEPeripheral/Application line 555 C/C++ Problem

  • Hello Priya,

    Unfortunately, the build log snippet is not sufficient to understand the problem here. I would suggest uninstalling & reinstalling the BLE-Stack & TI-RTOS installation, build the default 7X7 project, then save the entire build log. Please document the exact steps you took to change to 4x4 and post the full build log.

    Also, please make sure your CCS v6.1.x install is up to date and you have the latest CC26xx device support installed.

    Best wishes
  • Are there a recommended set of steps to edit a project? Can I simply rename a project to make a copy?
    There are so many files with specific names calling each other, I'm not sure renaming a project makes
    making edits any easier. We certainly don't want to uninstall and re-install every time.

    Thanks,
    Priya
  • I uninstalled and re-installed TI RTOS and the BLE stack. The versions I currently have are
    TIRTOS 2.16.00.08 and BLE Stack 2.1.1.44627.

    I switched to a different workspace in CCS6.1.2 and imported simpleBLEPeripheral and
    simpleBLEPeripheralStack. Both projects are referring to TIRTOS 2.13.00.06.
    Is this the version of TIRTOS I should have on my desktop. Should I be uninstalling
    the TIRTOS2.16?

    Thanks,
    Priya
  • Yes, you should use 2.13.00.06 version and you don't need to uninstall TI-RTOS 2.16. Are you able to build the project for 7x7 without problem?

  • Finally yes! It took an entire uninstalling and re-installing all of the ti directory. SimpleBLEPeripheral builds successfully for the 7x7 package on the 2560 DK and the 4x4 package.

    The next step would be to add an IOC function call to this project on the 4x4 package. Is there a predefined symbol to make a call to ioc.c?
    Thanks,
    Priya