Solved
Javier1Best answer
Principal
August 10, 2022
there is not USB_DEVICE folder generated in my project
I realiced the USB files are located directly under src/ directory now.
The directories where cubeMX puts the usb files have changed?
MX_USB_DEVICE_Init needs to be put manually in main.c .
/* USER CODE BEGIN 2 */
MX_USB_DEVICE_Init();
/* USER CODE END 2 */hit me up in https://www.linkedin.com/in/javiermuñoz/


