You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ra...@apache.org on 2021/04/17 07:56:51 UTC
[incubator-nuttx] 02/02: nucleo-h743zi:Use Serial RX/DX DMA
This is an automated email from the ASF dual-hosted git repository.
raiden00 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit c3cbe673adab8d63a19601df409c0cd4edebfb14
Author: David Sidrane <Da...@NscDg.com>
AuthorDate: Wed Apr 14 09:28:26 2021 -0700
nucleo-h743zi:Use Serial RX/DX DMA
---
boards/arm/stm32h7/nucleo-h743zi/include/board.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/boards/arm/stm32h7/nucleo-h743zi/include/board.h b/boards/arm/stm32h7/nucleo-h743zi/include/board.h
index 9d81594..a60f608 100644
--- a/boards/arm/stm32h7/nucleo-h743zi/include/board.h
+++ b/boards/arm/stm32h7/nucleo-h743zi/include/board.h
@@ -374,11 +374,17 @@
#define GPIO_USART3_RX GPIO_USART3_RX_3 /* PD9 */
#define GPIO_USART3_TX GPIO_USART3_TX_3 /* PD8 */
+#define DMAMAP_USART3_RX DMAMAP_DMA12_USART3RX_0
+#define DMAMAP_USART3_TX DMAMAP_DMA12_USART3TX_1
+
/* USART6 (Arduino Serial Shield) */
#define GPIO_USART6_RX GPIO_USART6_RX_2 /* PG9 */
#define GPIO_USART6_TX GPIO_USART6_TX_2 /* PG14 */
+#define DMAMAP_USART6_RX DMAMAP_DMA12_USART6RX_1
+#define DMAMAP_USART6_TX DMAMAP_DMA12_USART6TX_0
+
/* I2C1 Use Nucleo I2C1 pins */
#define GPIO_I2C1_SCL GPIO_I2C1_SCL_2 /* PB8 - D15 */