Skip to content
Commit b09972b4 authored by Adrien Ricciardi's avatar Adrien Ricciardi Committed by Anas Nashif
Browse files

fs: nvs: Allow application to switch sector to get free space



Add an API function allowing the application to determine the amount of
free bytes in the current sector.

Add a second API function allowing the application to switch to the next
NVS sector, calling the garbage collector on such sector.

The goal is togive more granularity to the application to control when
the garbage collector is triggered.

Signed-off-by: default avatarAdrien Ricciardi <aricciardi@baylibre.com>
parent ea1a0a69
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment