mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 13:27:01 +08:00
serial/xlnx_ps: add common Xilinx UART Peripheral System (XUARTPS) support
This PR adds complete driver support for the Xilinx UART Peripheral System (XUARTPS) in the NuttX serial driver framework. The implementation includes the core driver code (uart_xlnx_ps.c), configuration files (Kconfig-xlnxps), header definitions (uart_xlnx_ps.h), and integration with the existing NuttX build system (CMakeLists.txt, Make.defs, Kconfig). The driver supports UART0 configuration with customizable parameters (base address, clock frequency, IRQ number, baud rate, parity, data bits, stop bits), RX/TX buffer sizing, hardware flow control (RTS/CTS), interrupt-driven data transfer, and console mapping for XUARTPS UART0. It also provides standard serial driver operations (setup, shutdown, attach/detach, ioctl, send/receive) and early serial initialization for boot-time console access. Signed-off-by: chao an <anchao.archer@bytedance.com>
This commit is contained in:
@@ -114,6 +114,14 @@ if UART_PL011
|
||||
source "drivers/serial/Kconfig-pl011"
|
||||
endif
|
||||
|
||||
menuconfig UART_XLNXPS
|
||||
bool "Xilinx UART Peripheral System (XUARTPS) Chip support"
|
||||
default n
|
||||
|
||||
if UART_XLNXPS
|
||||
source "drivers/serial/Kconfig-xlnxps"
|
||||
endif # UART_XLNXPS
|
||||
|
||||
menuconfig CMSDK_UART
|
||||
bool "CMSDK UART Chip support"
|
||||
select ARCH_HAVE_SERIAL_TERMIOS
|
||||
|
||||
Reference in New Issue
Block a user