eeprom_flash

Dependents:   STM32F103C8T6_WIFI_Heating_system

Fork of eeprom_flash by Chau Vo

Revision:
2:a37f58f78b2b
Parent:
1:e593ae8ff81d
Child:
3:35953bc8607a
--- a/eeprom_flash.h	Mon Aug 29 21:29:20 2016 +0000
+++ b/eeprom_flash.h	Mon Sep 17 20:15:21 2018 +0000
@@ -4,7 +4,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)0x0801C000) // EEPROM emulation start address: after 112KByte of used Flash memory
+//#define EEPROM_START_ADDRESS   ((uint32_t)0x0801C000) // EEPROM emulation start address: after 112KByte of used Flash memory
+#define EEPROM_START_ADDRESS   ((uint32_t)0x0800FC00) // EEPROM emulation start address: after 63KByte of used Flash memory
 
 void enableEEPROMWriting(); // Unlock and keep PER cleared
 void disableEEPROMWriting(); // Lock