Move Stm32f4 related code into the folder "platform"