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

Difference between the libraries of littlefs and nvs

Hi,

I want to use flash area of nrf9160. To do it, I have created simple example using predefined samples on zepyhr project. My goal is to write a data to flash and read it. To write data, I'm using the following scripts which I found that https://devzone.nordicsemi.com/f/nordic-q-a/27428/read-and-write-specific-flash-pages-from-a-computer

I have a little bit confused about using flash area. According to my research, I can use littlefs and nvs. Both are supported by zephyr. But, which one is more useful for my goal? My data is approximately 300KB and it will be the format of ZIP. 

Related