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.

CCS/CC2650: CCS 10, BLE SDK 2.02.05.02, build failure

Part Number: CC2650

Tool/software: Code Composer Studio

I just purchased a CC3650 Sensor tag and CC_DEVPACK_DEBUG

I downloaded the ble_sdk_2_02_02_02 BLE stack package, CCS10.1.0.00010_win64 package, flash-programmer-2-1.8.2 and installed them, in that order, with reboots (to be certain) between each install.

The first issue I noticed is that CCS does not detect the CC_DEVPACK_DEBUG. I launched the flash programmer, and it recognized the DEBUG immediately, but said it needed a firmware update. I said yes, and it all went through. CCS still does not see it.

So I selected the CC2650 Sensor tag manually, then imported the app and stack projects from the BLE sdk.

They imported fine, but when I tried to build, I got this failure:

>> Compilation failure
OSAL/subdir_rules.mk:9: recipe for target 'OSAL/osal.obj' failed
"C:/TI/simplelink/ble_sdk_2_02_05_02/src/components/osal/src/common/osal.c", line 408: error #167: too few arguments in function call
1 error detected in the compilation of "C:/TI/simplelink/ble_sdk_2_02_05_02/src/components/osal/src/common/osal.c".
gmake[1]: *** [OSAL/osal.obj] Error 1
Building file: "C:/TI/simplelink/ble_sdk_2_02_05_02/src/components/hal/src/target/_common/hal_trng_wrapper.c"
Invoking: ARM Compiler

Which fails the full build. The function call ltoa() is missing the last argument, radix. I edited the source and it builds, but that raises questions about what other errors may be in that tree.

Is there an updated BLE SDK that isn't on the current CC2650 Sensor tag web pages?

  • Hello,

    Douglas Fraser said:
    C:/TI/simplelink/ble_sdk_2_02_05_02/src/components/osal/src/common/osal.c", line 408: error #167: too few arguments in function call
    1 error detected in the compilation of "C:/TI/simplelink/ble_sdk_2_02_05_02/src/components/osal/src/common/osal.c".

    You may need an older version of the compiler. Please see the related post below:

    https://e2e.ti.com/support/tools/ccs/f/81/p/908924/3358951#3358951

    Thanks

    ki

  • I stepped back, removed everything.

    Installed BT SDK 2.02.05 then reloaded CSS 9.x, and upgraded to 9.3.x.

    After a reboot, downgraded the compiler from 18.x to 16.11.x.

    Now everything builds with zero warnings or failures.

    So CC2650STK  ==> BT SDK 2.02.05 + CCS 9.3.x with compiler downgraded to 16.11.x is the current working set on 09/21/2020