EEPROM emulation using Flash for STM32F103

Dependents:   F103-Web-Server

Files at this revision

API Documentation at this revision

Comitter:
olympux
Date:
Mon Aug 29 21:29:20 2016 +0000
Parent:
0:ea2bec485611
Commit message:
Update EEPROM page address

Changed in this revision

eeprom_flash.h Show annotated file Show diff for this revision Revisions of this file
diff -r ea2bec485611 -r e593ae8ff81d eeprom_flash.h
--- a/eeprom_flash.h	Sat Aug 13 22:44:48 2016 +0000
+++ b/eeprom_flash.h	Mon Aug 29 21:29:20 2016 +0000
@@ -3,7 +3,8 @@
 
 #include "mbed.h"
 
-#define EEPROM_START_ADDRESS   ((uint32_t)0x08019000) // EEPROM emulation start address: after 100KByte of used Flash memory
+//#define EEPROM_START_ADDRESS   ((uint32_t)0x08019000) // EEPROM emulation start address: after 100KByte of used Flash memory
+#define EEPROM_START_ADDRESS   ((uint32_t)0x0801C000) // EEPROM emulation start address: after 112KByte of used Flash memory
 
 void enableEEPROMWriting(); // Unlock and keep PER cleared
 void disableEEPROMWriting(); // Lock