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.

  • Resolved

LAUNCHXL-CC1352R1: CC1352R1 Reduce BLE-Stack code size

Intellectual 270 points

Replies: 5

Views: 184

Part Number: LAUNCHXL-CC1352R1

I test "LAUNCHXL-CC1352R1 Rev. 0.4.0 FW: SDK 1.60RC1 1752"  (chip revision C)
with SDK simplelink_cc13x2_sdk_2_30_00_45.

After compile "simple_peripheral" project, I surprised that the firmware is very large (156kB) and calculated BLE stack in this firmware occupies ~102kB. 
I try to change 
-DFLASH_ONLY_BUILD
to
-DFLASH_ROM_BUILD and -DROM_BUILD

but project do not compile with many errors.

My question is:how to reduce stack code size or move them to ROM ?
What a symbols I can use ?

- FLASH_ONLY_BUILD:  Build full BLE stack in flash only memory.
 -FLASH_ROM_BUILD:   Build Flash portion of BLE stack to work with ROM code.
- ROM_BUILD:         Build ROM portion of BLE stack.
- COMMON_ROM_BUILD:  Build of common ROM code.

Thanks.

  • Hi,
    Rev E samples incorporate ROM based stack code.

    Regards, Joakim

     

  • In reply to J Lindh:

    Hi, Joakim.
    Thanks for response.
    I was download SDK 2.40, make same project and firmware size decreased from 135 to 75 kb.
  • In reply to Vyacheslav Lebets:

    Hi,
    I am using the CC1352R1 Rev 0.4.0 launchpad, but I am unable to run any available sdk on it, I am using SDK 2.40.00.81.
    The program gets flashed on the board but the board does not respond in any way.
    Do i need the older versions of SDK ? or the recent versions support the revision I am using.

    Thanks in Advance
  • In reply to Muhammad Hamza Muneer:

    Hi, Muhammad. Yes, you need to use SDK 2.30 for this board because revision C chip on the board.
  • In reply to Vyacheslav Lebets:

    Hi, Vyacheslav Lebets
    Thank you for your reply. It worked for me.

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.