diff options
| author | hathach <[email protected]> | 2023-06-01 20:52:48 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-06-01 20:52:48 +0700 |
| commit | dc3afdbf3b0520caa4a8147c08219486672a6832 (patch) | |
| tree | 3a3697885f2984db26669733e889f9e0a9f631f9 | |
| parent | c750030f7a9b3076b3722172014604ff5190df91 (diff) | |
add note for B0 clock variant
| -rw-r--r-- | hw/bsp/stm32g0/boards/stm32g0b1nucleo/board.h | 4 | ||||
| -rw-r--r-- | hw/bsp/stm32g0/family.cmake | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/hw/bsp/stm32g0/boards/stm32g0b1nucleo/board.h b/hw/bsp/stm32g0/boards/stm32g0b1nucleo/board.h index 44c69934d..ae0820529 100644 --- a/hw/bsp/stm32g0/boards/stm32g0b1nucleo/board.h +++ b/hw/bsp/stm32g0/boards/stm32g0b1nucleo/board.h @@ -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}; diff --git a/hw/bsp/stm32g0/family.cmake b/hw/bsp/stm32g0/family.cmake index ddd39bc3b..9674bc759 100644 --- a/hw/bsp/stm32g0/family.cmake +++ b/hw/bsp/stm32g0/family.cmake @@ -121,7 +121,7 @@ function(family_configure_example TARGET) #---------- Flash ---------- family_flash_stlink(${TARGET}) - family_flash_jlink(${TARGET}) + #family_flash_jlink(${TARGET}) endfunction() |
