forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: Adrien Ricciardi <[email protected]>
- Loading branch information
1 parent
ea1a0a6
commit b09972b
Showing
2 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters