Loading...
 
Skip to main content

System Workbench for STM32


USB FS Host , MSC class not starting under FreeRTOS..

Managed to work it out in the end - it was the inclusion of printf support that was causing the grief 😑 Im wondering if best to avoid printf in RTOS environment, and using alternate debug output to uart is better.
The way it was implemented anyway was very simple HAL UART send with a timeout , char by char. So, not great. I'll come back to it after having improved..re-setup with DMA's for the uarts and a housekeeping task that can receive debug events and stick them on the send buffer. Hopefully that way it will be stable to debug-out safely whilst not impact the rest of everything badly.

 
Collapse/expand modules below