aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-07-27 14:44:28 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-07-27 14:44:28 +0000
commit8249123228e7de9f1694905d090f91a063306bdf (patch)
tree56e9242a34fdd7c8c9768a1d96b3412fa6f4c661 /demos
parent79b97b0f60aa6d99667a6bb4d402c420cb6d856e (diff)
downloadChibiOS-8249123228e7de9f1694905d090f91a063306bdf.tar.gz
ChibiOS-8249123228e7de9f1694905d090f91a063306bdf.tar.bz2
ChibiOS-8249123228e7de9f1694905d090f91a063306bdf.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2095 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
-rw-r--r--demos/ARMCM3-STM32F103-GCC/mcuconf.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/demos/ARMCM3-STM32F103-GCC/mcuconf.h b/demos/ARMCM3-STM32F103-GCC/mcuconf.h
index 731ec9f85..723b5b991 100644
--- a/demos/ARMCM3-STM32F103-GCC/mcuconf.h
+++ b/demos/ARMCM3-STM32F103-GCC/mcuconf.h
@@ -98,3 +98,10 @@
#define STM32_SPI1_IRQ_PRIORITY 10
#define STM32_SPI2_IRQ_PRIORITY 10
#define STM32_SPI1_DMA_ERROR_HOOK() chSysHalt()
+
+/*
+ * UART driver system settings.
+ */
+#define STM32_UART_USE_USART1 TRUE
+#define STM32_UART_USART1_IRQ_PRIORITY 12
+#define STM32_UART_USART1_DMA_PRIORITY 1