altos: Add self-flash support for STM32F042 processor