mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
|
Some checks are pending
Build Documentation / build-html (push) Waiting to run
MemBrowse Memory Report / changes-filter (push) Waiting to run
MemBrowse Memory Report / load-targets (push) Waiting to run
MemBrowse Memory Report / identical (push) Blocked by required conditions
MemBrowse Memory Report / analyze (push) Blocked by required conditions
Extract the chip-specific UART constants (controller count, register bases, NVIC vectors, APBPeriph function/clock masks and crossbar TX/RX pad-mux codes) out of the shared driver into a new per-chip header, arch/arm/src/rtl8721dx/ameba_uart_chip.h, and include it from arch/arm/src/common/ameba/ameba_uart.c. This drops the #if CONFIG_ARCH_CHIP_RTL8721DX block from the shared source: other Ameba ARM chips port UART by supplying a same-named header on their chip include path. The RCC clock argument is split from a single "clk" into separate "periph" and "clk" APBPeriph masks so RCC_PeriphClockCmd() gets its two distinct arguments; the two lists are equal on RTL8721Dx but differ on chips such as amebasmart. No functional change: the macros expand to the same values previously hard-coded in the driver. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: dechao_gong <dechao_gong@realsil.com.cn> |
||
|---|---|---|
| .. | ||
| arm | ||
| arm64 | ||
| avr | ||
| ceva | ||
| dummy | ||
| hc | ||
| mips | ||
| misoc | ||
| or1k | ||
| renesas | ||
| risc-v | ||
| sim | ||
| sparc | ||
| tricore | ||
| x86 | ||
| x86_64 | ||
| xtensa | ||
| z16 | ||
| z80 | ||
| CMakeLists.txt | ||
| Kconfig | ||