altos/stm32f1: Start work on self-flash code