Replies: 7
Views: 120
Part Number: CC1352P
Hi,
After upgrading to SIMPLELINK-CC13X2-26X2-SDK_4.40.00.44 , new error appears during compilation :
"C:/ti/simplelink_cc13x2_26x2_sdk_4_40_00_44/source/ti/ble5stack/controller/cc26xx/inc/ll_ae.h", line 1508: error #41: expected an identifier
btw, Compared my project to referecne simple_peripheral_CC13X2P_2_LAUNCHXL_tirtos_ccs:
Some sources/headeres appears as shortcut to kernel project , for exampple : rom_init.c:
How can add manually add file shortcut via project explorer ?
Hi Amit,
Did you check whether this is covered by the migration guide?
Cheers, Marie H.
In reply to Marie H:
Hi Marie,
Compilation error caused by BLE header file in kernel : ll_ae.h
Header file includes struct definition which using the "new" reserve word.
I have modified the reserved word to "ChannelNew" and it can compile now.
typedef struct
{ llPeriodicChanMap_t current; // current channel map llPeriodicChanMap_t new; // new channel map <---------------------- using "new" reserve word uint8 updated; // channel map was updated} llPeriodicAdvChanMap_t;
Please check.
In reply to amit dolev:
We have made several improvements to the LL scheduler in this release.
Can you tell me the exact steps to reproduce your original build error?
My project uses cpp files.
"new" is reserve word in cpp, therefore compilation fails.
As mentioned, renamed struct field from llPeriodicChanMap_t new -> llPeriodicChanMap_t Channelnew
and it resolved the problem.
we encountered the same problem so we cannot use the new SDK
In reply to Souhail Lkandouchi1:
Hi Souhail,
Can you try using the work-around Amit posted?
Thanks Marie!