imxrt:board: Add LPUART3 item for imxrt1052-nxp-evk
Add LPUART3 item in imxrt1052-nxp-evk Kconfig file to support
Arduino UART interface.
@@ -56,6 +56,34 @@ menu "On-chip Peripheral Drivers"
depends on BSP_LPUART1_TX_USING_DMA
int "Set LPUART1 TX DMA channel (0-32)"
default 1
+
+ config BSP_USING_LPUART3
+ bool "Enable LPUART3"
+ default n
+
+ config BSP_LPUART3_RX_USING_DMA
+ bool "Enable LPUART3 RX DMA"
+ depends on BSP_USING_LPUART3
+ select BSP_USING_DMA
+ select RT_SERIAL_USING_DMA
+ default n
+
+ config BSP_LPUART3_RX_DMA_CHANNEL
+ depends on BSP_LPUART3_RX_USING_DMA
+ int "Set LPUART3 RX DMA channel (0-32)"
+ default 0
+
+ config BSP_LPUART3_TX_USING_DMA
+ bool "Enable LPUART3 TX DMA"
+ depends on BSP_USING_LPUART3
+ select BSP_USING_DMA
+ select RT_SERIAL_USING_DMA
+ default n
+
+ config BSP_LPUART3_TX_DMA_CHANNEL
+ depends on BSP_LPUART3_TX_USING_DMA
+ int "Set LPUART3 TX DMA channel (0-32)"
+ default 1
endif
endmenu
