Skip to content

Commit dc3afdb

Browse files
committed
add note for B0 clock variant
1 parent c750030 commit dc3afdb

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

hw/bsp/stm32g0/boards/stm32g0b1nucleo/board.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
// RCC Clock
6060
//--------------------------------------------------------------------+
6161
#if 1
62+
// Clock configure for STM32G0B1RE Nucleo
6263
static inline void board_clock_init(void)
6364
{
6465
RCC_OscInitTypeDef RCC_OscInitStruct = {0};
@@ -114,6 +115,9 @@ static inline void board_clock_init(void)
114115
HAL_RCC_OscConfig(&osc_hsi48);
115116
}
116117
#else
118+
119+
// Clock configure for STM32G0 nucleo with B0 mcu variant for someone that is skilled enough
120+
// to rework and solder the B0 chip. Note: SB17 may need to be soldered as well (check user manual)
117121
static inline void board_clock_init(void)
118122
{
119123
RCC_OscInitTypeDef RCC_OscInitStruct = {0};

hw/bsp/stm32g0/family.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ function(family_configure_example TARGET)
121121

122122
#---------- Flash ----------
123123
family_flash_stlink(${TARGET})
124-
family_flash_jlink(${TARGET})
124+
#family_flash_jlink(${TARGET})
125125
endfunction()
126126

127127

0 commit comments

Comments
 (0)