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

Should I call the fds_init function if I want to use fds module to store data?

In my application, I use the peer manager that has called the fds_init function, should I call it again if I want to use the fds to store my data. Will the peer manager use my area?

Parents Reply
  • There is no direct way to separate the areas as there is no support for it in FDS, and FDS only support a single instance. You can set a side x number of flash pages and manage it manually via fstorage like you suggest, while keeping FDS for the peer manager only. The downside is that fstorage is only provide basic flash write and erase support, so you will have to provide any file system like features and wear leveling yourself if you need it.

Children
No Data
Related