|
@@ -41,11 +41,11 @@
|
41
|
41
|
#define STM32_PLS STM32_PLS_LEV0
|
42
|
42
|
#define STM32_HSI_ENABLED TRUE
|
43
|
43
|
#define STM32_HSI14_ENABLED TRUE
|
44
|
|
-#define STM32_HSI48_ENABLED FALSE
|
|
44
|
+#define STM32_HSI48_ENABLED TRUE
|
45
|
45
|
#define STM32_LSI_ENABLED TRUE
|
46
|
46
|
#define STM32_HSE_ENABLED FALSE
|
47
|
47
|
#define STM32_LSE_ENABLED FALSE
|
48
|
|
-#define STM32_SW STM32_SW_PLL
|
|
48
|
+#define STM32_SW STM32_SW_HSI48
|
49
|
49
|
#define STM32_PLLSRC STM32_PLLSRC_HSI_DIV2
|
50
|
50
|
#define STM32_PREDIV_VALUE 1
|
51
|
51
|
#define STM32_PLLMUL_VALUE 12
|
|
@@ -116,7 +116,7 @@
|
116
|
116
|
* I2C driver system settings.
|
117
|
117
|
*/
|
118
|
118
|
#define STM32_I2C_USE_I2C1 FALSE
|
119
|
|
-#define STM32_I2C_USE_I2C2 FALSE
|
|
119
|
+#define STM32_I2C_USE_I2C2 TRUE
|
120
|
120
|
#define STM32_I2C_BUSY_TIMEOUT 50
|
121
|
121
|
#define STM32_I2C_I2C1_IRQ_PRIORITY 3
|
122
|
122
|
#define STM32_I2C_I2C2_IRQ_PRIORITY 3
|