Skip to content

Commit

Permalink
Merge branch 'main' into variant/RAK3172-Module
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliv4945 committed Apr 14, 2023
2 parents df9bd73 + 31e562d commit 029f9d6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions variants/STM32F4xx/F401R(B-C-D-E)T/variant_NUCLEO_F401RE.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,13 @@ WEAK void SystemClock_Config(void)
__HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE2);

/* Initializes the CPU, AHB and APB busses clocks */
RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSE;
RCC_OscInitStruct.HSEState = RCC_HSE_BYPASS;
RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI;
RCC_OscInitStruct.HSIState = RCC_HSI_ON;
RCC_OscInitStruct.HSICalibrationValue = RCC_HSICALIBRATION_DEFAULT;
RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON;
RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSE;
RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSI;
RCC_OscInitStruct.PLL.PLLM = 8;
RCC_OscInitStruct.PLL.PLLN = 336;
RCC_OscInitStruct.PLL.PLLN = 168;
RCC_OscInitStruct.PLL.PLLP = RCC_PLLP_DIV4;
RCC_OscInitStruct.PLL.PLLQ = 7;

Expand Down

0 comments on commit 029f9d6

Please sign in to comment.