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.

CC1352R: Disable GAP Bond Manager and SNV to Save Flash Space

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

Hello,

I am wondering how to disable the GAP Bond Manager and SNV in a BLE Peripheral project to save precious flash space on the CC1352.
My project is a BLE Peripheral device based on the dmm_154sensor_remote_display_oad_app example.

Bond Manager

This post suggests that the bond manager cannot be strictly disabled through SysConfig, but the desired result can be achieved by setting Pairing Mode: Pairing is not allowed.
https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/857814/ccs-cc2642r-disable-gap-bond-manager-in-sysconfig

Does this option remove Bond Manager code from the image to save flash space? If not, how can I do that?

SNV

Since my project does not require the Bond Manager, I would also like to disable the internal non-volatile flash storage driver.
I have attempted to do this by setting the No Osal SNV option under BLE -> Advanced Settings within SysConfig. Unfortunately, I still see a call to NVOCMP_initNvApi() from osal_snv_init() during boot.

Is there some way that I can ensure the stack (and thus osal_snv_init()) is being rebuilt with the NO_OSAL_SNV option that SysConfig defines in ti_ble_app_config.opt?

Thanks in advance for your help!
Peter