FreeRTOS_FAT + FreeRTOS on RZ/T2M

Hello, I have a question about how to use the USB HMSC Driver on FreeRTOS.
I managed to get the RZT2M_RSK_usb_hmsc_Rev110 sample code running, but the functions called requires to configure the project as bare metal. As my current project requires to use FreeRTOS, what are the functions needed to be called and in what order so USB HMSC Driver can be properly initialized and configured?
As I understand, the main loop in src/usb_thread_entry.c calls the function R_USB_EventGet (rzt/fsp/src/r_usb_basic/r_usb_basic.c) which does nothing on FreeRTOS but sets the event on bare metal. 

Thanks,

Yip-Ho