mirror of
https://github.com/apache/nuttx.git
synced 2026-09-30 02:53:49 +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> |
||
|---|---|---|
| .. | ||
| ameba | ||
| bcm2711 | ||
| bl602 | ||
| ci | ||
| codeowners | ||
| cxd56 | ||
| esp32 | ||
| esp32c3 | ||
| esp32s2 | ||
| esp32s3 | ||
| espressif | ||
| imx9 | ||
| licensing | ||
| lwl | ||
| mpfs | ||
| nix | ||
| pic32 | ||
| pynuttx | ||
| rp23xx | ||
| rp2040 | ||
| simwifi | ||
| zds | ||
| .gitignore | ||
| aarch64-unknown-nuttx-macho.json | ||
| aarch64-unknown-nuttx.json | ||
| abi_check.py | ||
| b16.c | ||
| bdf-converter.c | ||
| board_romfs_mkpasswd.sh | ||
| btdecode.sh | ||
| build-globals.sh | ||
| callstack.py | ||
| cfgdefine.c | ||
| cfgdefine.h | ||
| cfgparser.c | ||
| cfgparser.h | ||
| check_passwd_keys.sh | ||
| checkkconfig.py | ||
| checkpatch.sh | ||
| checkrelease.sh | ||
| CMakeLists.txt | ||
| cmpconfig.c | ||
| cnvwindeps.c | ||
| Config.mk | ||
| configure.bat | ||
| configure.c | ||
| configure.sh | ||
| configure_completion.bash | ||
| convert-comments.c | ||
| copydir.bat | ||
| copydir.sh | ||
| coredump.py | ||
| csvparser.c | ||
| csvparser.h | ||
| D.defs | ||
| define.bat | ||
| define.sh | ||
| detab.c | ||
| Directories.mk | ||
| discover.py | ||
| doreleasenotes.py | ||
| Export.mk | ||
| find_symbol_callers.sh | ||
| flash_writer.py | ||
| FlatLibs.mk | ||
| gcov.py | ||
| gdbserver.py | ||
| gen_passwd_keys.sh | ||
| gencromfs.c | ||
| host_info_dump.py | ||
| host_info_parse.py | ||
| i486-unknown-nuttx.json | ||
| ide_exporter.py | ||
| incdir.bat | ||
| incdir.c | ||
| incdir.sh | ||
| indent.sh | ||
| initialconfig.c | ||
| jlink-nuttx.c | ||
| kasan_global.py | ||
| kconfig.bat | ||
| kconfig2html.c | ||
| KernelLibs.mk | ||
| LibTargets.mk | ||
| link.bat | ||
| link.sh | ||
| lowhex.c | ||
| macar-qcs.sh | ||
| Make.defs | ||
| Makefile.host | ||
| merge_config.py | ||
| mkallsyms.py | ||
| mkallsyms.sh | ||
| mkconfig.c | ||
| mkconfigvars.sh | ||
| mkctags.sh | ||
| mkdeps.c | ||
| mkexport.sh | ||
| mkfsdata.pl | ||
| mkfsdata.py | ||
| mknulldeps.sh | ||
| mkpasswd.c | ||
| mkromfsimg.sh | ||
| mksymtab.c | ||
| mksyscall.c | ||
| mkversion.c | ||
| mkwindeps.sh | ||
| netusb.sh | ||
| noteinfo.c | ||
| nxstyle.c | ||
| nxtagspkgsfetch.sh | ||
| parsecallstack.py | ||
| parsememdump.py | ||
| parsetrace.py | ||
| passwd_keys.mk | ||
| pre-commit | ||
| process_config.py | ||
| process_config.sh | ||
| promptpasswd.sh | ||
| ProtectedLibs.mk | ||
| refresh.sh | ||
| rmcr.c | ||
| Rust.defs | ||
| sethost.sh | ||
| showsize.sh | ||
| simbridge.sh | ||
| simhostroute.sh | ||
| simlaunch.sh | ||
| size_report.py | ||
| splashscreen_converter.py | ||
| stackusage.py | ||
| stm32_pinmap_tool.py | ||
| Swift.defs | ||
| testbuild.ps1 | ||
| testbuild.sh | ||
| toolchain.cmake.export | ||
| uncrustify.cfg | ||
| Unix.mk | ||
| unlink.bat | ||
| unlink.sh | ||
| update_romfs_password.sh | ||
| version.sh | ||
| Win.mk | ||
| x86_64-unknown-nuttx-macho.json | ||
| x86_64-unknown-nuttx.json | ||
| xmlrpc_test.py | ||
| Zig.defs | ||
| zipme.sh | ||