Cube 4.20 bug with F7
when generating code for an stm32f769i-discovery with rcc set to enable external clock, the latest version does this:
RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI|RCC_OSCILLATORTYPE_HSE;
which causes a fault when it hits HAL_RCC_OscConfig(). the fix, and the behavior in previous versions, is to not try to choose both clocks at once.
RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSE;
