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