mirror of
https://github.com/apache/nuttx.git
synced 2026-08-27 04:10:40 +00:00
Wire the shared Ameba RTC driver (arch/arm/src/common/ameba/ameba_rtc.c) into RTL8721F (amebagreen2). The driver is chip-agnostic and reads only per-chip macros from ameba_rtc_chip.h; RTL8721F differs from amebadplus only in the RTC interrupt vector (RTL8721F_IRQ_RTC, vector 41). The APBPeriph_RTC masks and RTC_BASE_YEAR (1900) are identical across all current Ameba chips. - ameba_rtc_chip.h: per-chip RTC IRQ / clock masks / base year - Make.defs, ameba_board.mk: compile ameba_rtc.c and the fwlib RAM RTC source when CONFIG_AMEBA_RTC=y - board: rtl8721f_rtc.c registers /dev/rtc0 from bringup - configs/rtc: examples/alarm profile Signed-off-by: dechao_gong <dechao_gong@realsil.com.cn> Assisted-by: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| arm | ||
| arm64 | ||
| avr | ||
| ceva | ||
| dummy | ||
| hc | ||
| mips | ||
| misoc | ||
| or1k | ||
| renesas | ||
| risc-v | ||
| sim | ||
| sparc | ||
| tricore | ||
| x86 | ||
| x86_64 | ||
| xtensa | ||
| z16 | ||
| z80 | ||
| CMakeLists.txt | ||
| Kconfig | ||