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.

CCS/CC1352R: Code Size for DMM example became 16k larger

Part Number: CC1352R
Other Parts Discussed in Thread: BLE-STACK, SYSCONFIG

Tool/software: Code Composer Studio

Hy,

due to an unsolvable issue with SDK 3.10 we tried to port our project to SDK 3.30. It was a success for one because the original effect does not appear any more, unfortunately we run into the next problem: Code size increased significantly.

Based on the results during first software creation we decided not to put any external memory in our system, so we need to do on-chip OAD. From the overall of 44 pages we need to use one for BIM/ccfg, two for NVS, so 20 pages (160k) remain for the app. In full featured mode with Stack 3.10 we had an overall of 146.5k, so still some flash as reserve, when implementing the same functionality based on the same sample project (dmm_154sensor_remote_display_app) we end up with 162.6k, so 16k more.

Is this expected?

Do you have any recommendations on how to save flash in order to fit our application into 160k flash?

Any help appreciated

Harald

/cfs-file/__key/communityserver-discussions-components-files/538/FlashUsageOnSDK3.10.map.txt

/cfs-file/__key/communityserver-discussions-components-files/538/FlashUsageOnSDK3.30.map.txt

  • Hi Harald,

    Yes this is expected. In general, to cut flash consumption I would recommend going through the drivers and remove any you are not using (you can do this in sysconfig). You may also be able to cut flash consumption by the BLE-Stack following this list: