Software for STM32F4