mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
Add a shared Ameba high-speed UART driver on top of the GPIO driver's common/ameba/ infrastructure, exposing UART0/UART1 through the NuttX serial upper half. - arch/arm/src/common/ameba/ameba_uart.c/.h: serial lower-half driver built on the SDK fwlib UART register layer (ROM symbol table). RX/TX dispatch through NuttX-native interrupts; TERMIOS get/set supported. The pins are muxed to the direction-specific UART crossbar function codes (TXD/RXD per controller) required by the amebadplus pinmux, and RX is pulled high through the SDK ROM. - arch/arm/src/common/ameba/Kconfig: AMEBA_UART option (selects SERIAL and ARCH_HAVE_SERIAL_TERMIOS) plus RX/TX buffer-size knobs. - arch/arm/src/rtl8721dx: wire ameba_uart.c into the Make/CMake builds and pull the fwlib ram_common UART table into the fwlib link set. - boards/arm/rtl8721dx/pke8721daf: board UART port table registering UART0 at /dev/ttyS1 (PB18/PB19, 115200), bring-up hook, and a uart NSH config with the serialrx/serialblaster examples. - Documentation: describe the driver and the uart board config. Verified on hardware (PKE8721DAF): pinmux routing, TX/RX and interrupt paths, and the TERMIOS ioctl path via loopback. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: dechao_gong <dechao_gong@realsil.com.cn> |
||
|---|---|---|
| .. | ||
| _extensions | ||
| _static | ||
| _templates | ||
| applications | ||
| components | ||
| contributing | ||
| debugging | ||
| faq | ||
| guides | ||
| implementation | ||
| introduction | ||
| logos | ||
| platforms | ||
| quickstart | ||
| reference | ||
| ReleaseNotes | ||
| standards | ||
| testing | ||
| .gitignore | ||
| conf.py | ||
| glossary.rst | ||
| index.rst | ||
| known-warnings.txt | ||
| legacy_README.md | ||
| make.bat | ||
| Makefile | ||
| Pipfile | ||
| Pipfile.lock | ||
| security.rst | ||
| substitutions.rst | ||