Update file to compatibility with stm32f4 controller