Here are a few ideas to help decreasing the Flash consumed by the application.
- Assess the amount of Flash you need to save.
- Review the flash optimization chapter of the BLE Stack User's guide
- Verify if your application could be built in a smarter way to decrease its flash consumption.
- Verify you are not enabling unused features of the BLE stack (see the BLE Stack User's Guide)
- Switch to HeapMem (instead of OSAL HeapMgr) In the applications's cfg file that changes HEAPMGR_CONFIG to 0x81 (see the BLE Stack User's Guide)