Port to FreeRTOS and STM32Fxx7