add note for B0 clock variant

This commit is contained in:
hathach 2023-06-01 20:52:48 +07:00
parent c750030f7a
commit dc3afdbf3b
No known key found for this signature in database
GPG Key ID: F5D50C6D51D17CBA
2 changed files with 5 additions and 1 deletions

View File

@ -59,6 +59,7 @@
// RCC Clock
//--------------------------------------------------------------------+
#if 1
// Clock configure for STM32G0B1RE Nucleo
static inline void board_clock_init(void)
{
RCC_OscInitTypeDef RCC_OscInitStruct = {0};
@ -114,6 +115,9 @@ static inline void board_clock_init(void)
HAL_RCC_OscConfig(&osc_hsi48);
}
#else
// Clock configure for STM32G0 nucleo with B0 mcu variant for someone that is skilled enough
// to rework and solder the B0 chip. Note: SB17 may need to be soldered as well (check user manual)
static inline void board_clock_init(void)
{
RCC_OscInitTypeDef RCC_OscInitStruct = {0};

View File

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