Bug in clock configuration in CubeMX 6.4.0
When trying to use the "List pinout compatible MCUs" feature to move an existing CubeMX project to a different MCU I get incorrect clock calculations in the clock configuration tab.
For example, starting with a project for STM32L451RETx and then using "List pinout compatible MCUs" to switch to an STM32L451RCTx I lose the existing clock configuration and have to redo it manually.
In the original project it looked like this:
after switching MCU and reconfiguring I get this:
I'm fairly sure that 16 MHz / 1 * 10 / 2 should be 80 MHz and not 40.
The same problem exists in CubeMX 6.1.0. I couldn't test in CubeMX 6.5.0 because the list of pinout compatible MCUs never stops loading in that version.
