aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-09-26 09:09:47 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-09-26 09:09:47 +0000
commit5111601c13e6a1151dfd39a02a48d7fd0efd68cd (patch)
treef41351cf32964bd56476b7975764861ec709405c /os
parentd0a137799e066f9b10fb06719d1a08ad130d594a (diff)
downloadChibiOS-5111601c13e6a1151dfd39a02a48d7fd0efd68cd.tar.gz
ChibiOS-5111601c13e6a1151dfd39a02a48d7fd0efd68cd.tar.bz2
ChibiOS-5111601c13e6a1151dfd39a02a48d7fd0efd68cd.zip
STM32F0 registry fixes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12292 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os')
-rw-r--r--os/hal/ports/STM32/STM32F0xx/stm32_registry.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/os/hal/ports/STM32/STM32F0xx/stm32_registry.h b/os/hal/ports/STM32/STM32F0xx/stm32_registry.h
index 046d1a946..f7749ed74 100644
--- a/os/hal/ports/STM32/STM32F0xx/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32F0xx/stm32_registry.h
@@ -1732,9 +1732,11 @@
#define STM32_USART2_TX_DMA_CHN 0x00000000
#define STM32_HAS_USART3 TRUE
-#define STM32_USART3_RX_DMA_MSK STM32_DMA_STREAM_ID_MSK(1, 6)
+#define STM32_USART3_RX_DMA_MSK (STM32_DMA_STREAM_ID_MSK(1, 6) |\
+ STM32_DMA_STREAM_ID_MSK(1, 3))
#define STM32_USART3_RX_DMA_CHN 0x00000000
-#define STM32_USART3_TX_DMA_MSK STM32_DMA_STREAM_ID_MSK(1, 7)
+#define STM32_USART3_TX_DMA_MSK (STM32_DMA_STREAM_ID_MSK(1, 7) |\
+ STM32_DMA_STREAM_ID_MSK(1, 2))
#define STM32_USART3_TX_DMA_CHN 0x00000000
#define STM32_HAS_UART4 TRUE