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.

SIMPLELINK-CC2640R2-SDK: Errors during building "TI Drivers Infrared generation" example

Part Number: SIMPLELINK-CC2640R2-SDK

Hello!

I try to build TI Drivers Infrared generation project which is a part of SimpleLink Academy and it is cause some errors:

"../CC2640R2_LAUNCHXL.c", line 84: error #137: struct "ADCBufCC26XX_HWAttrs" has no field "gpTimerUnit"
"../CC2640R2_LAUNCHXL.c", line 277: error #20: identifier "DisplaySharp_HWAttrs" is undefined
"../CC2640R2_LAUNCHXL.c", line 609: error #20: identifier "RFCC26XX_HWAttrs" is undefined

I tried SDK v. 3.40.00.10 and v. 2.40.00.32.

How can I fix this errors?

Example of code invokes an error:

const ADCBufCC26XX_HWAttrs adcBufCC26xxHWAttrs[CC2640R2_LAUNCHXL_ADCBUFCOUNT] = {
    {
        .intPriority       = ~0,
        .swiPriority       = 0,
        .adcChannelLut     = ADCBufCC26XX_adcChannelLut,
        .gpTimerUnit       = CC2640R2_LAUNCHXL_GPTIMER0A,
        .gptDMAChannelMask = 1 << UDMA_CHAN_TIMER0_A,
    }
};

P.S. I also tried to download SDK v. 1.50.00.58, but error occurred:

Got status 404 for url software-dl.ti.com/.../simplelink_cc2640r2_sdk_1_50_00_58__macos.zip
  • Hi,

    For which SDK version the SLA you are following was written? Try to use the same SDK version. If you cannot use the right SDK version, use the migration guide included in the BLE stack user's guide to correct the remaining errors.

    When it comes to SDK 1.50, I am not sure a mac-os version was provided. However, I would not recommend you to base your project on such an old SDK version.

    Best regards,

  • Clément said:

    For which SDK version the SLA you are following was written? Try to use the same SDK version.

    I use SLA which comes with SDK. So SLA must be compatible with SDK.

    Anyway, it seems that IR example haven't been updated since the first release.

    Clément said:

    When it comes to SDK 1.50, I am not sure a mac-os version was provided.

    Yes, you're right. I checked SDK version history and the first mac-os version is 2.20.00.49.

  • Hi Denis,

    Sorry for the late answer.

    I tested with the 4.10 version and I am not able to reproduce your issue. Please make sure you are using a supported version of CCS.