Hello,
I'm testing the OAD feature on CC2642 and CC2340 chips. On the BLE connection parameter side, I have a set of
And here is my testing environment:
========================================
EVM: LANCHXL-CC26x2
SDK: simplelink_cc13xx_cc26xx_sdk_6_30_00_84
CCS Version: 12.1
RTOS: TI-RTOS7
Compiler Version: TI Clang V2.1.2 LTS
========================================
I find some options in ARM Compiler > Optimization part, like s/z/g and two other Enable/Disable options.

After a thourough test, when I choose z optimization, enabling -ffsat-math, selecting -flto. The binaray size is the smallest, but I'm not sure about whether it lead the same result for other projects.
So, my question is how to reduce the binary size in CCS. What else I can do from the compiler side?
Thanks.