David Saada
b53cb325d7
Check max possible keys in NVStore tests.
2018-08-23 17:16:57 -05:00
Oren Cohen
cea311d621
Fix owner restoration and discard across nvstore init
2018-08-13 14:44:27 +01:00
ccli8
974c52b416
Fix Greentea test code with Cortex-M23/M33
...
Enlarge stack size of forked thread for Cortex-M23/M33 targets
2018-07-27 13:30:07 -05:00
David Saada
a8d99d619f
NVStore tests: Tune memory consumption; stop threads greafully
...
- Tune thread stack size in nvstore test using heap stats
- Stop threads gracefully instead of killing them (in multi-thread test)
2018-07-27 13:29:55 -05:00
Amanda Butler
0d8b331eb0
Copy edit README.md
...
Tweak bullet's phrasing to clarify meaning
2018-06-15 13:30:56 +01:00
David Saada
4d7a15e0f1
Fix NVStore README file (changed APIs)
2018-06-15 13:30:56 +01:00
Cruz Monrreal
06180e89f7
Merge pull request #6642 from yossi2le/yossi-device-key-driver
...
Device key implementation
2018-05-24 10:06:14 -05:00
Cruz Monrreal
db73ed0751
Merge pull request #6480 from davidsaada/david_nvstore_alloc_key
...
NVStore: add the allocate_key API (instead of set_alloc_key)
2018-05-21 17:32:00 -05:00
Janne Kiiskila
16a27a2602
NVStore - remove Thread.h include
...
As this include is not actually needed. Having it will cause issues
with the bootloader, as this will cause a need to get the full
CMSIS/RTOS package etc., which would bloat the bootloader size.
2018-05-17 13:07:59 +03:00
David Saada
c90182a02c
NVStore: add the allocate_key API (instead of set_alloc_key)
...
Add the allocate_key API. This replaces the previously added set_alloc_key API
(which allocates a key and sets the value at the same time).
Reason for the change: Key allocation will typically be used by other storage
features (like StorageLite), keeping the allocated keys in another location.
Previous API created problems in the case key allocation and value setting
couldn't be done at the same time (for instance, if the set value was
derived from the allocated key, such as hash or CMAC).
2018-05-14 19:00:46 +03:00
Yossi Levy
a8febd57a1
Device key implementation
2018-04-11 15:35:00 +03:00
ccli8
d52b502fea
Fix typo with NVStore
2018-04-11 14:34:54 +08:00
Marcus Chang
791e42eefe
Inrease thread stack size to 1024 bytes in NVStore test for NRF52
2018-03-30 11:32:55 -07:00
David Saada
b7bb29a301
NVStore: key management enhancements
...
- Define an enum for predefined keys (later filled by internal users of NVStore)
- Add the set_alloc_key API, allocating a free key from the non predefined keys
2018-03-19 12:00:47 +02:00
David Saada
f20c54e275
NVStore: add comments in header file for Doxygen formatting sake.
2018-03-14 18:15:13 +02:00
Martin Kojtal
0c0826179f
Merge pull request #6280 from davidsaada/david_nvstore_doxygen_only
...
NVStore: Enclose header file with DOXYGEN_ONLY option as well.
2018-03-08 17:40:12 +01:00
jiangkun1994
3ca084e954
fixes a typo in README.md
2018-03-07 03:23:42 +08:00
David Saada
9e35f8283e
NVStore: Enclose header file with DOXYGEN_ONLY option as well.
2018-03-06 15:35:00 +02:00
Amanda Butler
f078124bae
Edit README.md
...
Edit README with changes from docs site and minor formatting changes.
2018-02-28 18:59:20 -06:00
Amanda Butler
6ddff638d4
Copy edit nvstore.h
...
Copy edit for typos and minor spelling nits.
2018-02-28 18:47:17 -06:00
David Saada
e891d6abf0
NVStore: Use wait_ms to delay instead of Thread::wait.
2018-02-27 12:33:27 +02:00
David Saada
f43e7b1301
NVStore: Calling thread wait doesn't depend on RTOS being defined any more.
2018-02-26 23:17:59 +02:00
David Saada
2b7766a73b
Add NVStore (A.K.A SOTP) feature
2018-02-26 15:57:32 +02:00