imxrt:board: Add LPUART3 item for imxrt1052-nxp-evk

Add LPUART3 item in imxrt1052-nxp-evk Kconfig file to support
Arduino UART interface.

Signed-off-by: Gavin Liu <gavin-liugang@outlook.com>
This commit is contained in:
Gavin Liu 2019-09-16 18:26:37 +08:00
parent 9791c31c1b
commit 259e9e4fc6
1 changed files with 28 additions and 0 deletions

View File

@ -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