aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32F0xx/PWM-ICU
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-04-07 07:43:23 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-04-07 07:43:23 +0000
commit098b67f2c5739fe3c8c5e22d9067f91dd35c01a9 (patch)
tree82f358ce9c056e80b752fdf23af767efd81e8464 /testhal/STM32F0xx/PWM-ICU
parent7cfab88550523fc375231131f3043d7fe82ebc29 (diff)
downloadChibiOS-098b67f2c5739fe3c8c5e22d9067f91dd35c01a9.tar.gz
ChibiOS-098b67f2c5739fe3c8c5e22d9067f91dd35c01a9.tar.bz2
ChibiOS-098b67f2c5739fe3c8c5e22d9067f91dd35c01a9.zip
Updated mcuconf.h files for F0xx, F30x, F37x.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5552 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32F0xx/PWM-ICU')
-rw-r--r--testhal/STM32F0xx/PWM-ICU/mcuconf.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/testhal/STM32F0xx/PWM-ICU/mcuconf.h b/testhal/STM32F0xx/PWM-ICU/mcuconf.h
index 9f80add8b..8e7779960 100644
--- a/testhal/STM32F0xx/PWM-ICU/mcuconf.h
+++ b/testhal/STM32F0xx/PWM-ICU/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