aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32F37x/EXT/mcuconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32F37x/EXT/mcuconf.h')
-rw-r--r--testhal/STM32F37x/EXT/mcuconf.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/testhal/STM32F37x/EXT/mcuconf.h b/testhal/STM32F37x/EXT/mcuconf.h
index f04aeaf7b..1434b2fae 100644
--- a/testhal/STM32F37x/EXT/mcuconf.h
+++ b/testhal/STM32F37x/EXT/mcuconf.h
@@ -123,6 +123,17 @@
#define STM32_GPT_TIM14_IRQ_PRIORITY 7
/*
+ * 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_TIM2 FALSE