altos/stm32f1: Add eeprom emulation using flash