• TI Thinks Resolved

CC1352P: Compilation error after upgrade to SIMPLELINK-CC13X2-26X2-SDK_4.40.00.44

Intellectual 930 points

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 ?

  • Guru 51785 points

    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.

  • Guru 51785 points

    In reply to amit dolev:

    Hi Amit,

    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?

    Cheers,
    Marie H.

  • In reply to Marie H:

    Hi Marie,

    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.

  • In reply to amit dolev:

    we encountered the same problem so we cannot use the new SDK

  • Guru 51785 points

    In reply to Souhail Lkandouchi1:

    Hi Souhail,

    Can you try using the work-around Amit posted?

    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;

    Cheers,
    Marie H.

  • In reply to Marie H:

    Thanks Marie!

    • Im Wörterbuch speichern
      • Liste
      • Eine neue Wortliste erstellen...
    • Kopieren