Utils
STM32F CDC driver
Louiey
2017. 11. 7. 12:05
https://electronics.stackexchange.com/questions/224623/stm32f7-discovery-usb-cdc-using-cubemx
It's a pity that STMicroelectronics does not include clock enable code in their libraries. The solution is to enable USB OTG clock by calling __HAL_RCC_USB_OTG_FS_CLK_ENABLE();
in a MX_USB_DEVICE_Init()
routine or before.
해결된다.