Skip to content

Commit 9b8efb2

Browse files
authored
Merge pull request #3391 from jeromecoutant/PR_ST_F4_ASSERT
STM32F4 : map ST HAL assert into MBED assert
2 parents eb3dc2d + dd88e97 commit 9b8efb2

File tree

20 files changed

+43
-7225
lines changed

20 files changed

+43
-7225
lines changed

targets/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/device/stm32f4xx_hal_conf.h

Lines changed: 0 additions & 449 deletions
This file was deleted.

targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/device/stm32f4xx_hal_conf.h

Lines changed: 0 additions & 449 deletions
This file was deleted.

targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/device/stm32f4xx_hal_conf.h

Lines changed: 0 additions & 449 deletions
This file was deleted.

targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/device/stm32f4xx_hal_conf.h

Lines changed: 0 additions & 449 deletions
This file was deleted.

targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/device/system_stm32f4xx.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -808,6 +808,8 @@ void SystemClock_Config(void)
808808
RCC_OscInitStruct.PLL.PLLN = 336;
809809
RCC_OscInitStruct.PLL.PLLP = RCC_PLLP_DIV2;
810810
RCC_OscInitStruct.PLL.PLLQ = 7;
811+
RCC_OscInitStruct.PLL.PLLR = 2; // I2S clocks
812+
811813
HAL_RCC_OscConfig(&RCC_OscInitStruct);
812814

813815
RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_SYSCLK|RCC_CLOCKTYPE_PCLK1
@@ -843,6 +845,8 @@ void SystemClock_Config(void)
843845
RCC_OscInitStruct.PLL.PLLN = 360;
844846
RCC_OscInitStruct.PLL.PLLP = RCC_PLLP_DIV2;
845847
RCC_OscInitStruct.PLL.PLLQ = 7;
848+
RCC_OscInitStruct.PLL.PLLR = 2; // I2S clocks
849+
846850
HAL_RCC_OscConfig(&RCC_OscInitStruct);
847851

848852
HAL_PWREx_ActivateOverDrive();

0 commit comments

Comments
 (0)