I have allocated 100 pages for FDS, but now i dont have enough space for the DFU. ir there a way to use FDS space (im happy to loose data stored in FDS), for the BLE DFU? Thanks
I have allocated 100 pages for FDS, but now i dont have enough space for the DFU. ir there a way to use FDS space (im happy to loose data stored in FDS), for the BLE DFU? Thanks
Hi,
The bootloader only care about FDS in the sense that it will stay away from the specified number of pages below itself. If you are fine with overwriting some FDS pages, you can reduce the value of NRF_DFU_APP_DATA_AREA_SIZE in the bootloader's sdkc_config.h accordingly. Note that FDS will lay of corrupt FDS pages, so it probably makes sense to adjust the application in this case so that it does a page erase of the pages that (may) have been used by the bootloader. Of course, any data that may or may not have been in those pages there is lost.