adding g4 family with g474nucleo, able to blink led and button

This commit is contained in:
hathach
2021-11-04 16:16:51 +07:00
parent 8b3708b44f
commit f90f5ea369
11 changed files with 927 additions and 11 deletions

View File

@@ -76,6 +76,8 @@ static inline void board_clock_init(void)
RCC_OscInitStruct.PLL.PLLQ = 9;
HAL_RCC_OscConfig(&RCC_OscInitStruct);
// TODO need to enable usb clock source
/* Activate the OverDrive to reach the 216 MHz Frequency */
HAL_PWREx_EnableOverDrive();