aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32F37x
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/STM32F37x
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/STM32F37x')
-rw-r--r--testhal/STM32F37x/ADC/mcuconf.h11
-rw-r--r--testhal/STM32F37x/CAN/mcuconf.h11
-rw-r--r--testhal/STM32F37x/EXT/mcuconf.h11
-rw-r--r--testhal/STM32F37x/IRQ_STORM/mcuconf.h11
-rw-r--r--testhal/STM32F37x/PWM-ICU/mcuconf.h11
-rw-r--r--testhal/STM32F37x/SDADC/mcuconf.h11
-rw-r--r--testhal/STM32F37x/SPI/mcuconf.h11
-rw-r--r--testhal/STM32F37x/UART/mcuconf.h11
-rw-r--r--testhal/STM32F37x/USB_CDC/mcuconf.h11
9 files changed, 99 insertions, 0 deletions
diff --git a/testhal/STM32F37x/ADC/mcuconf.h b/testhal/STM32F37x/ADC/mcuconf.h
index b6433b900..7cdc9bf4a 100644
--- a/testhal/STM32F37x/ADC/mcuconf.h
+++ b/testhal/STM32F37x/ADC/mcuconf.h
@@ -124,6 +124,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
diff --git a/testhal/STM32F37x/CAN/mcuconf.h b/testhal/STM32F37x/CAN/mcuconf.h
index f04aeaf7b..1434b2fae 100644
--- a/testhal/STM32F37x/CAN/mcuconf.h
+++ b/testhal/STM32F37x/CAN/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
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
diff --git a/testhal/STM32F37x/IRQ_STORM/mcuconf.h b/testhal/STM32F37x/IRQ_STORM/mcuconf.h
index f04aeaf7b..1434b2fae 100644
--- a/testhal/STM32F37x/IRQ_STORM/mcuconf.h
+++ b/testhal/STM32F37x/IRQ_STORM/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
diff --git a/testhal/STM32F37x/PWM-ICU/mcuconf.h b/testhal/STM32F37x/PWM-ICU/mcuconf.h
index 69456270b..36b5c84a5 100644
--- a/testhal/STM32F37x/PWM-ICU/mcuconf.h
+++ b/testhal/STM32F37x/PWM-ICU/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
diff --git a/testhal/STM32F37x/SDADC/mcuconf.h b/testhal/STM32F37x/SDADC/mcuconf.h
index 1317c07a4..8a4e68ba8 100644
--- a/testhal/STM32F37x/SDADC/mcuconf.h
+++ b/testhal/STM32F37x/SDADC/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
diff --git a/testhal/STM32F37x/SPI/mcuconf.h b/testhal/STM32F37x/SPI/mcuconf.h
index b1359805f..5326570a9 100644
--- a/testhal/STM32F37x/SPI/mcuconf.h
+++ b/testhal/STM32F37x/SPI/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
diff --git a/testhal/STM32F37x/UART/mcuconf.h b/testhal/STM32F37x/UART/mcuconf.h
index f01882c25..1421ff9f3 100644
--- a/testhal/STM32F37x/UART/mcuconf.h
+++ b/testhal/STM32F37x/UART/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
diff --git a/testhal/STM32F37x/USB_CDC/mcuconf.h b/testhal/STM32F37x/USB_CDC/mcuconf.h
index e2d12a214..4d4320200 100644
--- a/testhal/STM32F37x/USB_CDC/mcuconf.h
+++ b/testhal/STM32F37x/USB_CDC/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