aboutsummaryrefslogtreecommitdiffstats
path: root/demos/ARMCM3-STM32F107
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-01-12 22:08:04 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-01-12 22:08:04 +0000
commit03ab00297198821c5dfc2003b584da8ed734de39 (patch)
tree04a73fe83fd9a1b4a282ab910e07e0e057ef2ab8 /demos/ARMCM3-STM32F107
parent3a3f9a632ddd2891dfdf0657077b5c5720a556cf (diff)
downloadChibiOS-03ab00297198821c5dfc2003b584da8ed734de39.tar.gz
ChibiOS-03ab00297198821c5dfc2003b584da8ed734de39.tar.bz2
ChibiOS-03ab00297198821c5dfc2003b584da8ed734de39.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3804 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARMCM3-STM32F107')
-rw-r--r--demos/ARMCM3-STM32F107/main.c2
-rw-r--r--demos/ARMCM3-STM32F107/mcuconf.h10
2 files changed, 6 insertions, 6 deletions
diff --git a/demos/ARMCM3-STM32F107/main.c b/demos/ARMCM3-STM32F107/main.c
index 570d6b2e3..4436116a6 100644
--- a/demos/ARMCM3-STM32F107/main.c
+++ b/demos/ARMCM3-STM32F107/main.c
@@ -54,7 +54,7 @@ int main(void) {
chSysInit();
/*
- * Activates the serial driver 2 using the driver default configuration.
+ * Activates the serial driver 3 using the driver default configuration.
*/
sdStart(&SD3, NULL);
diff --git a/demos/ARMCM3-STM32F107/mcuconf.h b/demos/ARMCM3-STM32F107/mcuconf.h
index e001164a3..13fbde6e9 100644
--- a/demos/ARMCM3-STM32F107/mcuconf.h
+++ b/demos/ARMCM3-STM32F107/mcuconf.h
@@ -19,7 +19,7 @@
*/
/*
- * STM32 drivers configuration.
+ * STM32F1xx drivers configuration.
* The following settings override the default settings present in
* the various device driver implementation headers.
* Note that the settings for each driver only have effect if the whole
@@ -110,9 +110,9 @@
#define STM32_I2C_USE_I2C1 FALSE
#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_IRQ_PRIORITY 10
+#define STM32_I2C_I2C2_IRQ_PRIORITY 10
+#define STM32_I2C_I2C3_IRQ_PRIORITY 10
#define STM32_I2C_I2C1_DMA_PRIORITY 1
#define STM32_I2C_I2C2_DMA_PRIORITY 1
#define STM32_I2C_I2C3_DMA_PRIORITY 1
@@ -163,7 +163,7 @@
*/
#define STM32_SERIAL_USE_USART1 FALSE
#define STM32_SERIAL_USE_USART2 FALSE
-#define STM32_SERIAL_USE_USART3 FALSE
+#define STM32_SERIAL_USE_USART3 TRUE
#define STM32_SERIAL_USE_UART4 FALSE
#define STM32_SERIAL_USE_UART5 FALSE
#define STM32_SERIAL_USE_USART6 FALSE