aboutsummaryrefslogtreecommitdiffstats
path: root/demos/ARMCM3-STM32F107
diff options
context:
space:
mode:
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