Fix the stm32f0 evident bugs