FreeRTOS and USB stack

yevpator75 wrote on Sunday, December 16, 2018:


I understand there is no any middleware, except TCP/IP, designed especially for FreeRTOS.
I am going to work on STM32F413 and ST do provide their USB stack, but I don’t know how this solution is RTOS safe and how easy it would be to integrate with FreeRTOS. Also there are commercial USB stacks, like one of Segger. I would like to ask if somebody here tried some options and managed to integrated USB stack with FreeRTOS and can share his experience. How his solution does look, e.g. is there some USB Task, how the stack is interfaced and etc. What are the alternatives did you consider and why did you reject them?

Note, I am looking into USB CDC Device.

Thanks in advance for any help.