diff --git a/src/cmsis/src/st/system_stm32fxxx.c b/src/cmsis/src/st/system_stm32fxxx.c index ab5c9b3fe..3bb032d50 100644 --- a/src/cmsis/src/st/system_stm32fxxx.c +++ b/src/cmsis/src/st/system_stm32fxxx.c @@ -585,7 +585,9 @@ void SystemClock_Config(void) uint32_t flash_latency; RCC_ClkInitTypeDef RCC_ClkInitStruct; RCC_OscInitTypeDef RCC_OscInitStruct; +#if defined(MCU_SERIES_H7) RCC_PeriphCLKInitTypeDef PeriphClkInitStruct; +#endif #if defined (STM32H743xx)// 400MHz/48MHz /* Supply configuration update enable */ @@ -608,7 +610,9 @@ void SystemClock_Config(void) /* Enable HSE Oscillator and activate PLL with HSE as source */ RCC_OscInitStruct.HSEState = RCC_HSE_ON; RCC_OscInitStruct.HSIState = RCC_HSI_OFF; +#if defined(MCU_SERIES_H7) RCC_OscInitStruct.CSIState = RCC_CSI_OFF; +#endif RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSE; RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON; RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSE; diff --git a/src/micropython b/src/micropython index 9f0a0a6e6..8d787e975 160000 --- a/src/micropython +++ b/src/micropython @@ -1 +1 @@ -Subproject commit 9f0a0a6e6ad43d6febbc5e01670691b508327bf2 +Subproject commit 8d787e9757634243f439a1299af2acfc2c60d948