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 f584c73 commit 9f42fa2Copy full SHA for 9f42fa2
app/main.cpp
@@ -34,10 +34,12 @@
34
#include "usbd_dfu_flash.h"
35
#endif
36
37
-// clock source is selected with CLOCK_SOURCE in json config
38
-#define USE_PLL_HSE_EXTC 0x8 // Use external clock (ST Link MCO)
39
-#define USE_PLL_HSE_XTAL 0x4 // Use external xtal (X3 on board - not provided by default)
40
-#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)
41
+ #define USE_PLL_HSE_XTAL 0x4 // Use external xtal (X3 on board - not provided by default)
42
+ #define USE_PLL_HSI 0x2 // Use HSI internal clock
43
44
extern "C" uint8_t SetSysClock_PLL_HSE(uint8_t bypass, bool lowspeed);
45
0 commit comments