How to use USB device and FatFs with HAL library under STM32 U585?
I am working on a project that is related to STM32U585. I need to implement USB-HID and MSD device without RTOS using MIddelware library. MSD must be implemented with an SD card that uses SDMMC1 and FatFs. I have tried using examples from the L5 series which are based on Middleware, but I have no success with the FIFO stack that is used for the USB interface and also I have not been able to implement a file system using the FatFs library, from the examples given. Is it possible to provide sample code of the HAL library to implement a USB MSD with an SD card and be able to read and write FatFs files from the microcontroller?
