mirror of
https://github.com/hathach/tinyusb.git
synced 2025-03-23 22:43:49 +00:00
add note for B0 clock variant
This commit is contained in:
parent
c750030f7a
commit
dc3afdbf3b
@ -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};
|
||||
|
@ -121,7 +121,7 @@ function(family_configure_example TARGET)
|
||||
|
||||
#---------- Flash ----------
|
||||
family_flash_stlink(${TARGET})
|
||||
family_flash_jlink(${TARGET})
|
||||
#family_flash_jlink(${TARGET})
|
||||
endfunction()
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user