finished port of FreeRTOS_Enhanched Class to chibios