ST USB and FreeRTOS

Somebody can explain me what I need to modify in ST USB code to run it with FreeRTOS? Something should execute like a task? I´m using STR711. Tks