summaryrefslogtreecommitdiff
path: root/bsp/stm32
diff options
context:
space:
mode:
authorJianting (Meco) Man <[email protected]>2021-10-11 15:58:20 -0500
committerGitHub <[email protected]>2021-10-11 15:58:20 -0500
commit1426e57db023b2fd40887c278d4c089678987d4e (patch)
tree58c7e21f1f4dc298c9ad231fa2c86814e1ed4b76 /bsp/stm32
parent2ae8a05963b83c5a0deba6bd9b95f81b93d33092 (diff)
parent277bb736d7d4a7e6c32df107e550c2918bf95726 (diff)
Merge branch 'RT-Thread:master' into hal
Diffstat (limited to 'bsp/stm32')
-rw-r--r--bsp/stm32/stm32h750-artpi-h750/board/board.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bsp/stm32/stm32h750-artpi-h750/board/board.c b/bsp/stm32/stm32h750-artpi-h750/board/board.c
index 0d8653aa26..77fe5fee7f 100644
--- a/bsp/stm32/stm32h750-artpi-h750/board/board.c
+++ b/bsp/stm32/stm32h750-artpi-h750/board/board.c
@@ -32,8 +32,9 @@ void SystemClock_Config(void)
/** Initializes the RCC Oscillators according to the specified parameters
* in the RCC_OscInitTypeDef structure.
*/
- RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSE;
+ RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI48 | RCC_OSCILLATORTYPE_HSE;
RCC_OscInitStruct.HSEState = RCC_HSE_ON;
+ RCC_OscInitStruct.HSI48State = RCC_HSI48_ON;
RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON;
RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSE;
RCC_OscInitStruct.PLL.PLLM = 5;