finished version 0.1 for stm32f4discovery board