diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-01-12 21:18:49 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-01-12 21:18:49 +0000 |
commit | caebbece61db1a122e1f3b723f5860b5875411e3 (patch) | |
tree | ff7cd5b9d350a84ec53dcd23608920265c49cfc7 /demos/ARMCM3-STM32F107/mcuconf.h | |
parent | 260b6b6d19578f45b1adfd529674abf069bc3a8f (diff) | |
download | ChibiOS-caebbece61db1a122e1f3b723f5860b5875411e3.tar.gz ChibiOS-caebbece61db1a122e1f3b723f5860b5875411e3.tar.bz2 ChibiOS-caebbece61db1a122e1f3b723f5860b5875411e3.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3801 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARMCM3-STM32F107/mcuconf.h')
-rw-r--r-- | demos/ARMCM3-STM32F107/mcuconf.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/demos/ARMCM3-STM32F107/mcuconf.h b/demos/ARMCM3-STM32F107/mcuconf.h index dd30a0f25..98e2d791b 100644 --- a/demos/ARMCM3-STM32F107/mcuconf.h +++ b/demos/ARMCM3-STM32F107/mcuconf.h @@ -105,6 +105,22 @@ #define STM32_GPT_TIM8_IRQ_PRIORITY 7
/*
+ * I2C driver system settings.
+ */
+#define STM32_I2C_USE_I2C1 TRUE
+#define STM32_I2C_USE_I2C2 FALSE
+#define STM32_I2C_USE_I2C3 FALSE
+#define STM32_I2C_I2C1_IRQ_PRIORITY 6
+#define STM32_I2C_I2C2_IRQ_PRIORITY 6
+#define STM32_I2C_I2C3_IRQ_PRIORITY 6
+#define STM32_I2C_I2C1_DMA_PRIORITY 1
+#define STM32_I2C_I2C2_DMA_PRIORITY 1
+#define STM32_I2C_I2C3_DMA_PRIORITY 1
+#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
+#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
+#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
+
+/*
* ICU driver system settings.
*/
#define STM32_ICU_USE_TIM1 FALSE
@@ -138,6 +154,11 @@ #define STM32_PWM_TIM8_IRQ_PRIORITY 7
/*
+ * RTC driver system settings.
+ */
+#define STM32_RTC_IRQ_PRIORITY 15
+
+/*
* SERIAL driver system settings.
*/
#define STM32_SERIAL_USE_USART1 FALSE
|