This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Ble to uart application too large in size after buttonless DFU integration

Hi all,

I have integrated a slightly customised Ble to Uart example with the buttonless DFU implementation and libraries, and obviously its size inflated. I need to decrease this size a few kBs in order to fit into the nRF52810 flash.

I was wondering if I could remove something from what I see used in the buttonless example? Would it be acceptable to disable the bond requirement for the DFU?(In order to not need the PeerManager and to save some flash) Or is it the very minimum size?

Would you mind sharing some suggestions, if you have any? I am trying to optimise the Ble to Uart part too, but more info I have the best it is for me.

My last resource will be trimming the SDK files(i.e. removing logging), but I am trying to stay away from that point as much as I can.

SDK: 17.1.0
SD: 7.2.0
nRF52810
IDE: Segger Embedded Studio
Optimisation level: Level 2 for size

Thanks!

Related