aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32F0xx/UART/mcuconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32F0xx/UART/mcuconf.h')
-rw-r--r--testhal/STM32F0xx/UART/mcuconf.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/testhal/STM32F0xx/UART/mcuconf.h b/testhal/STM32F0xx/UART/mcuconf.h
index a29717da3..fb5ea8f3d 100644
--- a/testhal/STM32F0xx/UART/mcuconf.h
+++ b/testhal/STM32F0xx/UART/mcuconf.h
@@ -85,6 +85,17 @@
#define STM32_GPT_TIM3_IRQ_PRIORITY 2
/*
+ * I2C driver system settings.
+ */
+#define STM32_I2C_USE_I2C1 FALSE
+#define STM32_I2C_USE_I2C2 FALSE
+#define STM32_I2C_I2C1_IRQ_PRIORITY 10
+#define STM32_I2C_I2C2_IRQ_PRIORITY 10
+#define STM32_I2C_I2C1_DMA_PRIORITY 1
+#define STM32_I2C_I2C2_DMA_PRIORITY 1
+#define STM32_I2C_DMA_ERROR_HOOK(i2cp) chSysHalt()
+
+/*
* ICU driver system settings.
*/
#define STM32_ICU_USE_TIM1 FALSE