Basic stm32f4discovery implementation.