Hi Benjamin,I experienced the same problem of losing usb driver "usbd_def.h" automatically created by CubeMX. Before getting crazy, I configured IO for output. Miracle is happening, error disappeared! It seems the IDE has some bugs. Don't waste more...
Hi Vlad,I am exactly experiencing the same bug as yours even in 2020! My old package is V1.23.0. But my STM32CubeMX only shows V1.25.0 and V1.25.1 whatever I select "Use lateset available version" or click "Browse" to manually select folder of V1.23...