mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
stm32h7:serial Remove .txdmasem = SEM_INITIALIZER(1) from cherry pick
This commit is contained in:
committed by
Petro Karashchenko
parent
a59a4ca8ea
commit
e1a9e8fa53
@@ -964,7 +964,6 @@ static struct up_dev_s g_usart1priv =
|
||||
#endif
|
||||
#ifdef CONFIG_USART1_TXDMA
|
||||
.txdma_channel = DMAMAP_USART1_TX,
|
||||
.txdmasem = SEM_INITIALIZER(1),
|
||||
#endif
|
||||
#ifdef CONFIG_USART1_RXDMA
|
||||
.rxdma_channel = DMAMAP_USART1_RX,
|
||||
@@ -1034,7 +1033,6 @@ static struct up_dev_s g_usart2priv =
|
||||
#endif
|
||||
#ifdef CONFIG_USART2_TXDMA
|
||||
.txdma_channel = DMAMAP_USART2_TX,
|
||||
.txdmasem = SEM_INITIALIZER(1),
|
||||
#endif
|
||||
#ifdef CONFIG_USART2_RXDMA
|
||||
.rxdma_channel = DMAMAP_USART2_RX,
|
||||
@@ -1104,7 +1102,6 @@ static struct up_dev_s g_usart3priv =
|
||||
#endif
|
||||
#ifdef CONFIG_USART3_TXDMA
|
||||
.txdma_channel = DMAMAP_USART3_TX,
|
||||
.txdmasem = SEM_INITIALIZER(1),
|
||||
#endif
|
||||
#ifdef CONFIG_USART3_RXDMA
|
||||
.rxdma_channel = DMAMAP_USART3_RX,
|
||||
@@ -1174,7 +1171,6 @@ static struct up_dev_s g_uart4priv =
|
||||
.rx_gpio = GPIO_UART4_RX,
|
||||
#ifdef CONFIG_UART4_TXDMA
|
||||
.txdma_channel = DMAMAP_UART4_TX,
|
||||
.txdmasem = SEM_INITIALIZER(1),
|
||||
#endif
|
||||
#ifdef CONFIG_UART4_RXDMA
|
||||
.rxdma_channel = DMAMAP_UART4_RX,
|
||||
@@ -1244,7 +1240,6 @@ static struct up_dev_s g_uart5priv =
|
||||
.rx_gpio = GPIO_UART5_RX,
|
||||
#ifdef CONFIG_UART5_TXDMA
|
||||
.txdma_channel = DMAMAP_UART5_TX,
|
||||
.txdmasem = SEM_INITIALIZER(1),
|
||||
#endif
|
||||
#ifdef CONFIG_UART5_RXDMA
|
||||
.rxdma_channel = DMAMAP_UART5_RX,
|
||||
@@ -1314,7 +1309,6 @@ static struct up_dev_s g_usart6priv =
|
||||
#endif
|
||||
#ifdef CONFIG_USART6_TXDMA
|
||||
.txdma_channel = DMAMAP_USART6_TX,
|
||||
.txdmasem = SEM_INITIALIZER(1),
|
||||
#endif
|
||||
#ifdef CONFIG_USART6_RXDMA
|
||||
.rxdma_channel = DMAMAP_USART6_RX,
|
||||
@@ -1384,7 +1378,6 @@ static struct up_dev_s g_uart7priv =
|
||||
#endif
|
||||
#ifdef CONFIG_UART7_TXDMA
|
||||
.txdma_channel = DMAMAP_UART7_TX,
|
||||
.txdmasem = SEM_INITIALIZER(1),
|
||||
#endif
|
||||
#ifdef CONFIG_UART7_RXDMA
|
||||
.rxdma_channel = DMAMAP_UART7_RX,
|
||||
@@ -1454,7 +1447,6 @@ static struct up_dev_s g_uart8priv =
|
||||
#endif
|
||||
#ifdef CONFIG_UART8_TXDMA
|
||||
.txdma_channel = DMAMAP_UART8_TX,
|
||||
.txdmasem = SEM_INITIALIZER(1),
|
||||
#endif
|
||||
#ifdef CONFIG_UART8_RXDMA
|
||||
.rxdma_channel = DMAMAP_UART8_RX,
|
||||
|
||||
Reference in New Issue
Block a user