As I understand it well is your workaround swapping the order of HAL_RCCEx_PeriphCLKConfig() and HAL_RCCEx_PeriphCLKConfig() in the Systemclock_Config() ? this is not fixing the problem in my setup
I have exactly the same problem also on the STM32L072 . I run CubeIDE STM32CubeIDEVersion: 1.3.0Build: 5720_20200220_1053 (UTC)OS: Linux, v.5.4.0-40-generic, x86_64 / gtk 3.24.20Java version: 1.8.0_242It seems to be a bug in the code generation out o...