Files
mr-library/device/serial/Kconfig
MacRsh d4bdfd2ade 1.CH32-V307串口驱动适配DMA。
2.路径移动。
2024-05-08 23:55:02 +08:00

52 lines
1.3 KiB
Plaintext

menu "Serial configure"
config MR_USE_SERIAL
bool "Use serial"
default y
help
"Use this option allows for the use of serial."
# RD-FIFO
config MR_CFG_SERIAL_RD_FIFO_SIZE
depends on MR_USE_SERIAL
int "Serial read fifo size"
range 0 2147483647
default 128
help
"This option sets the size of the read fifo."
# WR-FIFO
config MR_CFG_SERIAL_WR_FIFO_SIZE
depends on MR_USE_SERIAL
int "Serial write fifo size"
range 0 2147483647
default 0
help
"This option sets the size of the write fifo."
# DMA
config MR_USE_SERIAL_DMA
depends on MR_USE_SERIAL
bool "Use serial dma"
default n
help
"Use this option allows for the use of serial dma."
# DMA RD-FIFO
config MR_CFG_SERIAL_RD_DMA_FIFO_SIZE
depends on MR_USE_SERIAL_DMA
int "Serial read dma fifo size"
range 0 2147483647
default 128
help
"This option sets the size of the read dma fifo."
# DMA WR-FIFO
config MR_CFG_SERIAL_WR_DMA_FIFO_SIZE
depends on MR_USE_SERIAL_DMA
int "Serial write dma fifo size"
range 0 2147483647
default 128
help
"This option sets the size of the write dma fifo."
endmenu