STM32 EEPROM emulation AN2594

Revision:
1:30f2f413f549
Parent:
0:0b8e4689a075
Child:
2:5da14988d0e5
--- a/eeprom.h	Sun Sep 21 16:21:49 2014 +0000
+++ b/eeprom.h	Sun Sep 21 19:34:11 2014 +0000
@@ -35,8 +35,8 @@
 #endif
 
 /* EEPROM start address in Flash */
-#define EEPROM_START_ADDRESS    ((uint32_t)0x08010000) /* EEPROM emulation start address:
-                                                  after 64KByte of used Flash memory */
+#define EEPROM_START_ADDRESS    ((uint32_t)0x08019000) /* EEPROM emulation start address:
+                                                  after 100KByte of used Flash memory */
 
 /* Pages 0 and 1 base and end addresses */
 #define PAGE0_BASE_ADDRESS      ((uint32_t)(EEPROM_START_ADDRESS + 0x000))
@@ -65,7 +65,7 @@
 #define PAGE_FULL               ((uint8_t)0x80)
 
 /* Variables' number */
-#define NumbOfVar               ((uint8_t)0x03)
+#define NumbOfVar               ((uint8_t)0x0E)
 
 /* Exported types ------------------------------------------------------------*/
 /* Exported macro ------------------------------------------------------------*/