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.

Compiler/BLE-STACK: BLE-Stack 2.2.1 and 16.9 LTS compiler

Part Number: BLE-STACK
Other Parts Discussed in Thread: CC2650, CC2640R2F, CC2640

Tool/software: TI C/C++ Compiler

I'm using the CC2650 with BLE-Stack 2.2.1, and currently the recommended TI 5.2.6 compiler. However, I'm running low on flash, and can see that the 16.9.4 LTS compiler can save me ~4 kB in my current project (both using default settings), which is currently the difference between being able to fit my application into the device or not.

I have been trying in other threads to figure out what the current BLE-stack compiler recommendations are based on, but I haven't been able to get a clear answer. I understand that 5.2.6 is currently recommended, and that the early 16.x compilers had issues (16.6 didn't work at all, early 16.9 had issues with higher task stack usage), but with 16.9.4, I'm not seeing any immediate differences in functionality - I am of course quite reluctant to switch to a non-recommended compiler without understanding a bit more about potential problems though.

Thus I would really like to get a more clear answer on two questions:

 - Is there a list of known issues with the 16.9.x LTS compilers and BLE-stack 2.2.1?

 - Are there any plans for retesting and possibly updating the compiler recommendation for the BLE-stack?

Alternatively - are there any optimization advice for reducing flash usage with 5.2.6? I'm using the default settings with full optimizations for size, and already switched the .cinit compression to lzss, but this only gives a net reduction of ~300 bytes.

Thanks in advance!

  • Hello Simon,

    We have not tested the 16.9.x LTS compilers with BLE-stack 2.2.1 but are aware of some of the issues you mentioned with earlier compilers which is one of the reasons v5.2.6 was selected. Any future update of the SDK would be with a 16.9.x LTS or later compiler. Note that our CC2640R2F SDKs do use the newer LTS compilers and the code base is similar to the the CC2640 / BLE 2.2.x.

    Hopefully others can chime in with their advice.

    Best wishes
  • Thanks for the answer!

    Can you say if there are any SDK updates planned for the CC2650 in the foreseeable future?

    And yes, if anyone else has any experience with BLE-stack 2.2.1 and the 16.9.x LTS series, I'd be happy to hear about it!