From 909a8343f5d343018b13d07eee780b5588be950c Mon Sep 17 00:00:00 2001 From: lordguilly Date: Mon, 24 Jul 2017 22:36:40 +0100 Subject: [PATCH] Change HSE for blupill,can only be XTAL The BLUEPILL board does have XTAL soldered, cannot be used with an external oscillator --- .../TARGET_STM32F1/TARGET_BLUEPILL_F103C8/device/system_clock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/targets/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/device/system_clock.c b/targets/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/device/system_clock.c index 4bc381765e..3aa2e4c37b 100644 --- a/targets/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/device/system_clock.c +++ b/targets/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/device/system_clock.c @@ -45,7 +45,7 @@ /* Select the clock sources (other than HSI) to start with (0=OFF, 1=ON) */ -#define USE_PLL_HSE_EXTC (1) /* Use external clock */ +#define USE_PLL_HSE_EXTC (0) /* Use external clock */ #define USE_PLL_HSE_XTAL (1) /* Use external xtal */