diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-06-23 17:07:20 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-06-23 17:07:20 +0000 |
commit | 6897dc3a672ca1b2114f8583b98d50fa975b69dd (patch) | |
tree | 93c13248803b41dad3ee7ced26b027a243df0ab1 /testhal/STM32F0xx/IRQ_STORM | |
parent | fdc0555892c21c6aa6b582c468dfa31d05005273 (diff) | |
download | ChibiOS-6897dc3a672ca1b2114f8583b98d50fa975b69dd.tar.gz ChibiOS-6897dc3a672ca1b2114f8583b98d50fa975b69dd.tar.bz2 ChibiOS-6897dc3a672ca1b2114f8583b98d50fa975b69dd.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4330 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32F0xx/IRQ_STORM')
-rw-r--r-- | testhal/STM32F0xx/IRQ_STORM/mcuconf.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testhal/STM32F0xx/IRQ_STORM/mcuconf.h b/testhal/STM32F0xx/IRQ_STORM/mcuconf.h index 30fe26030..67e5fb1d0 100644 --- a/testhal/STM32F0xx/IRQ_STORM/mcuconf.h +++ b/testhal/STM32F0xx/IRQ_STORM/mcuconf.h @@ -130,3 +130,14 @@ #define STM32_SPI_SPI1_IRQ_PRIORITY 2
#define STM32_SPI_SPI2_IRQ_PRIORITY 2
#define STM32_SPI_DMA_ERROR_HOOK(spip) chSysHalt()
+
+/*
+ * UART driver system settings.
+ */
+#define STM32_UART_USE_USART1 TRUE
+#define STM32_UART_USE_USART2 TRUE
+#define STM32_UART_USART1_IRQ_PRIORITY 3
+#define STM32_UART_USART2_IRQ_PRIORITY 3
+#define STM32_UART_USART1_DMA_PRIORITY 0
+#define STM32_UART_USART2_DMA_PRIORITY 0
+#define STM32_UART_DMA_ERROR_HOOK(uartp) chSysHalt()
|