init

Dependencies:   aconno_I2C Lis2dh12 WatchdogTimer

Revision:
34:4493c9f6d707
Parent:
14:9a54b1b65bc8
Child:
36:8e359069192b
--- a/board.h	Thu Jan 03 10:09:38 2019 +0000
+++ b/board.h	Sun Jan 13 23:40:56 2019 +0000
@@ -32,9 +32,12 @@
 #define PN_I2C_SCL              P0_27
 
 //MEMORY FOR DISK
-#define BD_PAGE_SIZE    4096
-#define BD_TOTAL_SIZE   4096 * 35 //must be multiple of 4096
-#define BD_PAGE_ADDRESS 0x5d000 //380928
+//#define BD_PAGE_SIZE    4096
+//#define BD_TOTAL_SIZE   4096 * 35 //must be multiple of 4096
+//#define BD_PAGE_ADDRESS 0x5d000 //380928
+
+#define USERDATA_START          0x7E000 // - 8k for user data
+#define APPDATA_START           0x3D000 // - 4k for app data
 
 //NVSTORAGE KEYS
 //#define NV_IDENTIFIER          1
\ No newline at end of file