NVProperty generic key value store using the MCU flash area.

Dependents:   Turtle_RadioShuttle

Files at this revision

API Documentation at this revision

Comitter:
Helmut Tschemernjak
Date:
Mon Feb 04 10:04:54 2019 +0100
Parent:
7:5c36e5c18b65
Child:
9:ac6c43b29434
Commit message:
Updated

Changed in this revision

NVProperty_L4OTP.cpp Show annotated file Show diff for this revision Revisions of this file
NVProperty_MBEDFlash.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/NVProperty_L4OTP.cpp	Sun Feb 03 13:00:24 2019 +0100
+++ b/NVProperty_L4OTP.cpp	Mon Feb 04 10:04:54 2019 +0100
@@ -66,6 +66,7 @@
 	_lastEntry = NULL;
 	
 	_FlashInititalize();
+	_GetFlashEntry(0); // inits the _lastEntry record
 }
 
 
--- a/NVProperty_MBEDFlash.cpp	Sun Feb 03 13:00:24 2019 +0100
+++ b/NVProperty_MBEDFlash.cpp	Mon Feb 04 10:04:54 2019 +0100
@@ -70,6 +70,7 @@
 	}
 	
 	_FlashInititalize(erase);
+	_GetFlashEntry(0); // inits the _lastEntry record
 }