Define constants before MEMORY
section:
/* EEPROM emulator */
_Flash_Page_Size = 0x400; /* Page size of the flash in bytes, see MCU datasheet */
_User_Config_Size = 0x400; /* Size of the emulated EEPROM in bytes, must be multiples of _Flash_Page_Size */
Define the section for non-volatile user data:
/* Flash reserved for the EEPROM emulation at the end of the Flash*/