Use a linker symbol for end of the FLASH addess

We now use a linker symbol to get the end address of the FLASH and place the EEPROM page at the end of the FLASH based on the linker symbol.