I had been using stm32CubeMX v4.08 with w/wo freeRtos on stm32F103CB series mcu successfully , until recently when i upgraded cubeMx to version 4.20. I am totally stuck since then, since i have so got used to using HAL abstraction...
Calling systemClockConfig() in main() .. causes HAL_Timeout - causing function Error_Handler to be called in the following line..
if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK)
on commenting out
/* Configure the system clock */
the cpu runs but presumably on the systemInit()'s reset default HSI clock..
I assume its a bug in hal_rcc drivers...
Can you please suggest some way to get out of this....