This commit is contained in:
hathach
2023-06-05 19:53:40 +07:00
parent f6a45a7aab
commit a70978e057
4 changed files with 6 additions and 3 deletions

View File

@@ -57,6 +57,8 @@
//--------------------------------------------------------------------+
// RCC Clock
//--------------------------------------------------------------------+
// CPU Frequency (Core Clock) is 170MHz
static inline void board_clock_init(void)
{
RCC_OscInitTypeDef RCC_OscInitStruct = {0};

View File

@@ -136,6 +136,7 @@ void board_init(void)
board_vbus_sense_init();
// USB PD
}
//--------------------------------------------------------------------+

View File

@@ -109,7 +109,7 @@ function(family_configure_example TARGET)
# Flashing
family_flash_stlink(${TARGET})
#family_flash_jlink(${TARGET})
family_flash_jlink(${TARGET})
endfunction()