NVProperty generic key value store using the MCU flash area.
Dependents: Turtle_RadioShuttle
Diff: NVProperty_MBEDFlash.h
- Revision:
- 6:633f80228fc8
- Parent:
- 5:2560e615ccd5
- Child:
- 12:5539cdc8be4b
--- a/NVProperty_MBEDFlash.h Fri Feb 01 13:21:55 2019 +0100
+++ b/NVProperty_MBEDFlash.h Fri Feb 01 13:37:08 2019 +0100
@@ -45,9 +45,6 @@
static const int FLASH_ENTRY_HEADER = 4;
static const int FLASH_ENTRY_HEADER_SHORT = 2;
static const int MAX_DATA_ENTRY = 256;
-
-// static const int FLASH_ENTRY_MIN_SIZE = 8;
-// static const int FLASH_PADDING_SIZE = 8; // writes sizes and alignment must be multiple of 64-bit,
struct _flashEntry {
uint8_t key; // Property key
Helmut Tschemernjak