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.

RTOS/CC2640R2F: Reduce flash footprint of Simplelink SDK 2.30.00.28

Part Number: CC2640R2F

Tool/software: TI-RTOS

Hey,

I am trying to update the SDK of our application from 1.50 to 2.30. The MCU's resources are all pretty packed and with the new SDK the app won't fit into memory. Are there any options to minimize the flash and maybe also the RAM footprint, e.g. by deactivating unused features? We've already utilized SWRA537 and optimized the linker command file pretty much as far as I can see. The main problem atm is the flash - with the old SDK, the flash contained 122 kb data, with the new SDK 3 kb are still missing.

Best
Florian

  • Hello. All configurations are in the build_config.opt file. You may be able to regain some more flash by removing some if you don't need them.
  • Hello Tim,

    Thanks for your hint. This file's content does not change if I switch SDKs, it still says simplelink_cc2640r2_sdk_01_50_00_58. Is that normal? Moreover, I can only find this file in the stack project, what about that?
  • Yes you are correct that it only exists in the stack project.

    I'm not sure what you mean by it didn't change when you switched SDK's. I would compare it to a build_config.opt from one of the standard SDK projects to make sure you are using the correct defines.
  • Very good point. I just did that and it seems like there are no relevant changes. Looks like we'll have to keep using the SDK 1.50 then. Thanks for your help!