How to properly integrate USBX (Standalone) with X-CUBE-FREERTOS on STM32N657
Hello Community,
I am working on an STM32N657X0H3Q project and have successfully configured both USBX and X-CUBE-FREERTOS (v1.4.0) within the same Application runtime context using CubeMX. My goal is to implement a USB CDC Composite device.
Since USBX traditionally relies on Azure RTOS (ThreadX) for its RTOS primitives, I am seeking the recommended best practice for running USBX on a FreeRTOS-based system.
- Should I configure USBX in standalone mode? If running USBX in Standalone mode, what is the best way to handle thread safety when accessing the USB CDC interface from multiple FreeRTOS tasks?
- Are there any known issues using the USBX Composite Builder when the underlying kernel is FreeRTOS instead of ThreadX?
