Skip to content

Commit 39bf3a7

Browse files
author
Amanda Butler
authored
Add warning to NVStore.md
Add notice of deprecation.
1 parent 6e0a63d commit 39bf3a7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/api/storage/NVStore.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# NVStore
22

3+
<span class="warnings">**Warning:** This API will be deprecated. In its place, please use [KVStore](../apis/kvstore.html).</span>
4+
35
<span class="images">![](https://os.mbed.com/docs/development/mbed-os-api-doxy/class_n_v_store.png)<span>NVStore class hierarchy</span></span>
46

57
NVStore is a lightweight module that stores data by keys in the internal flash for security purposes. For each item key, the NVStore module provides the ability to set the item data or get it. Newly added values are added to the end of the existing data, superseding the previous value that was there for the same key. The NVStore module ensures that power failures don't harm existing data during any operation.

0 commit comments

Comments
 (0)