We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cb3a3a commit 91aab46Copy full SHA for 91aab46
variants/NUCLEO_F030R8/variant.cpp
@@ -153,7 +153,9 @@ void SystemClock_Config(void)
153
RCC_OscInitTypeDef RCC_OscInitStruct;
154
155
/* No HSE Oscillator on Nucleo, Activate PLL with HSI/2 as source */
156
- RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_NONE;
+ RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI;
157
+ RCC_OscInitStruct.HSIState = RCC_HSI_ON;
158
+ RCC_OscInitStruct.HSICalibrationValue = 15;
159
RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON;
160
RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSI;
161
RCC_OscInitStruct.PLL.PREDIV = RCC_PREDIV_DIV1;
0 commit comments