modify project for stm32