STM32F7 Discovery USB CDC using CubeMX [closed]

I've created a project in CubeMX for my F7 Discovery. I followed instructions form here. However, in my Device Manager on Windows nothing appears. When I used precompiled code from link I was assured drivers installed on Windows works properly. MCU after checking this: if( hUsbDevice_0 ==NULL) returns from the function. What's wrong? Maybe I should use another function to enable something in USB module on MCU?

closed as unclear what you're asking by Scott Seidman, uint128_t, Peter Smith, Daniel Grillo, Olin LathropApr 14 '16 at 10:56

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

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.