aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32F0xx/EXT/mcuconf.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-06-23 17:52:27 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-06-23 17:52:27 +0000
commitae3db0129bf8fe34a660388e5066fb1328ba9e8a (patch)
tree91c0b3200b447458072a29e31c8894fce00e943f /testhal/STM32F0xx/EXT/mcuconf.h
parentd9d77ebf73ecb8eaa56b4f664805bb4b3c49fdc9 (diff)
downloadChibiOS-ae3db0129bf8fe34a660388e5066fb1328ba9e8a.tar.gz
ChibiOS-ae3db0129bf8fe34a660388e5066fb1328ba9e8a.tar.bz2
ChibiOS-ae3db0129bf8fe34a660388e5066fb1328ba9e8a.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4334 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32F0xx/EXT/mcuconf.h')
-rw-r--r--testhal/STM32F0xx/EXT/mcuconf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/testhal/STM32F0xx/EXT/mcuconf.h b/testhal/STM32F0xx/EXT/mcuconf.h
index 8d75d0a14..12eba360b 100644
--- a/testhal/STM32F0xx/EXT/mcuconf.h
+++ b/testhal/STM32F0xx/EXT/mcuconf.h
@@ -140,4 +140,8 @@
#define STM32_UART_USART2_IRQ_PRIORITY 3
#define STM32_UART_USART1_DMA_PRIORITY 0
#define STM32_UART_USART2_DMA_PRIORITY 0
+#define STM32_UART_USART1_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 3)
+#define STM32_UART_USART1_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
+#define STM32_UART_USART2_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 5)
+#define STM32_UART_USART2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
#define STM32_UART_DMA_ERROR_HOOK(uartp) chSysHalt()