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.

  • Resolved

The BLE SDK 2.2 app + stack examples for CC1350lp do not compile

Hi,

The app+stack examples from SDK 2.2 do not compile (the compiler is 2.5.8)

>> Compilation failure
Drivers/UART/subdir_rules.mk:14: recipe for target 'Drivers/UART/UARTCC26XX.obj' failed
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 128: error #20: identifier "UARTCC26XX_HWAttrsV1" is undefined
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 206: error #20: identifier "UARTCC26XX_HWAttrsV1" is undefined
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 206: error #66: expected a ";"
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 210: error #20: identifier "hwAttrs" is undefined
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 237: error #20: identifier "UARTCC26XX_HWAttrsV1" is undefined
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 237: error #66: expected a ";"
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 241: error #20: identifier "hwAttrs" is undefined
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 305: error #20: identifier "UARTCC26XX_HWAttrsV1" is undefined
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 305: error #66: expected a ";"
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 309: error #20: identifier "hwAttrs" is undefined
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 359: error #20: identifier "UARTCC26XX_HWAttrsV1" is undefined
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 418: error #20: identifier "UARTCC26XX_HWAttrsV1" is undefined
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 418: error #66: expected a ";"
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 422: error #20: identifier "hwAttrs" is undefined
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 553: error #20: identifier "UARTCC26XX_HWAttrsV1" is undefined
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 553: error #66: expected a ";"
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 557: error #20: identifier "hwAttrs" is undefined
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 632: error #20: identifier "UARTCC26XX_HWAttrsV1" is undefined
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 632: error #66: expected a ";"
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 636: error #20: identifier "hwAttrs" is undefined
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 775: error #20: identifier "UARTCC26XX_HWAttrsV1" is undefined
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 775: error #66: expected a ";"
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 779: error #20: identifier "hwAttrs" is undefined
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 840: error #20: identifier "UARTCC26XX_HWAttrsV1" is undefined
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 840: error #66: expected a ";"
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 865: error #20: identifier "hwAttrs" is undefined
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 923: error #20: identifier "UARTCC26XX_HWAttrsV1" is undefined
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 923: error #66: expected a ";"
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 927: error #20: identifier "hwAttrs" is undefined
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 1071: error #20: identifier "UARTCC26XX_HWAttrsV1" is undefined
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 1071: error #66: expected a ";"
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 1075: error #20: identifier "hwAttrs" is undefined
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 1141: error #20: identifier "UARTCC26XX_HWAttrsV1" is undefined
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 1141: error #66: expected a ";"
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 1145: error #20: identifier "hwAttrs" is undefined
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 1237: error #20: identifier "UARTCC26XX_HWAttrsV1" is undefined
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 1237: error #66: expected a ";"
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 1241: error #20: identifier "hwAttrs" is undefined
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 1285: error #20: identifier "UARTCC26XX_HWAttrsV1" is undefined
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 1285: error #66: expected a ";"
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 1297: error #20: identifier "hwAttrs" is undefined
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 1354: error #20: identifier "UARTCC26XX_HWAttrsV1" is undefined
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 1354: error #66: expected a ";"
"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c", line 1360: error #20: identifier "hwAttrs" is undefined
44 errors detected in the compilation of "C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/uart/UARTCC26XX.c".
gmake: *** [Drivers/UART/UARTCC26XX.obj] Error 1

  • Guru 104795 points
    The simple_peripheral and host_test app / stack CC1350LP sample projects build cleanly for me using the build procedure for BLE-Stack v2.2.0.

    Can you provide details on how you encountered these errors, the actual project used and attach the full build log file?

    Note that I am assuming you are using TI Compiler v5.2.8, I'm using v5.2.6 with CCS v6.1.3.

    Best wishes

    Please click the "This Resolved My Issue" button on this post if it answers your question

  • Hi Piotr,

    Could you please verify that your project is using TI-RTOS version 2.18?

     Cheers,

    Marie H

    Cheers,
    Marie H.

  • In reply to Marie H:

    Thanks for the tip.
    I have included the 2.18 folders instead of 2.21 ones before, but properly registering 2.18 and changing it to 2.18 here solved the problem and the example compiles correctly now :)

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.