Hi guys
I'm just want to know, is this situation can occur if my application size will grow so high that it could be overwritten by the flash data storage module?
The start and end addresses are calculated in fds.c:
static void flash_bounds_set(void)
{
uint32_t flash_size = (FDS_PHY_PAGES * FDS_PHY_PAGE_SIZE * sizeof(uint32_t));
m_fs.end_addr = flash_end_addr();
m_fs.start_addr = m_fs.end_addr - flash_size;
}
static ret_code_t flash_subsystem_init(void)
{
flash_bounds_set();
#if (FDS_BACKEND == NRF_FSTORAGE_SD)
return nrf_fstorage_init(&m_fs, &nrf_fstorage_sd, NULL);
#elif (FDS_BACKEND == NRF_FSTORAGE_NVMC)
return nrf_fstorage_init(&m_fs, &nrf_fstorage_nvmc, NULL);
#else
#error Invalid FDS_BACKEND.
#endif
}
SDK 17.1.0. Softdevice s132 nrf52832