Hi, I have implemented the following and succeeded storing and retrieving values from flash
In this application the mesh uses (0x000F8000 - 0X000FE000) for its mesh_initialization
and the page i used here is 0x000FF000(flash_manager_recovery_page_get()) to store my data
and then i also tried the pages before F8 , that were also successful.
Now my question is,whether the below default config values can be changed or not??
/** Maximum number of pages that can be owned by a single flash manager */ #ifndef FLASH_MANAGER_PAGE_COUNT_MAX #define FLASH_MANAGER_PAGE_COUNT_MAX 255 #endif /** Size of the flash manager data pool, storing pending writes. */ #ifndef FLASH_MANAGER_POOL_SIZE #define FLASH_MANAGER_POOL_SIZE 256 #endif /** Maximum size of a single flash entry in bytes. */ #ifndef FLASH_MANAGER_ENTRY_MAX_SIZE #define FLASH_MANAGER_ENTRY_MAX_SIZE 128 #endif
for eg. i have tried changing the max entry size to 256 and it seems to be kind of working, and i just wanted to confirm it.
Thanks