We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7716c37 commit 86eb990Copy full SHA for 86eb990
app/main.cpp
@@ -33,10 +33,12 @@
33
#include "usbd_dfu_flash.h"
34
#endif
35
36
-// clock source is selected with CLOCK_SOURCE in json config
37
-#define USE_PLL_HSE_EXTC 0x8 // Use external clock (ST Link MCO)
38
-#define USE_PLL_HSE_XTAL 0x4 // Use external xtal (X3 on board - not provided by default)
39
-#define USE_PLL_HSI 0x2 // Use HSI internal clock
+/*
+ * CLOCK_SOURCE is configured with "target.clock_source" in mbed_app.json file
+ */
+ #define USE_PLL_HSE_EXTC 0x8 // Use external clock (ST Link MCO)
40
+ #define USE_PLL_HSE_XTAL 0x4 // Use external xtal (X3 on board - not provided by default)
41
+ #define USE_PLL_HSI 0x2 // Use HSI internal clock
42
43
extern "C" uint8_t SetSysClock_PLL_HSE(uint8_t bypass, bool lowspeed);
44
0 commit comments