nuttx/arch/arm/src/rtl8720f
dechao_gong 2ddabb216a arch/arm/rtl8720f: add timer driver support
Wire the RTL8720F into the shared Ameba timer driver
(arch/arm/src/common/ameba/ameba_timer.c), registered at /dev/timer0
(TIM1) and /dev/timer1 (TIM2).  Only the per-chip base addresses, RCC
masks and IRQs differ, so this adds a small ameba_timer_chip.h (the two
32-bit basic LTIM timers at 0x40808200 / 0x40808400, 32.768 kHz,
APBPeriph_LTIM1/2, IRQ_TIMER1/2, verified against the SoC hal_platform.h
/ sysreg_lsys.h / vector table) plus the Make.defs/CMakeLists build
hooks, the fwlib ram_common/ameba_tim.c RAM source (now also pulled in
by CONFIG_AMEBA_TIMER, matching the PWM rule), the board bring-up
registration and a timer defconfig.  The shared driver is unchanged.

TIM0 is left untouched because the boot ROM claims it as the always-on
system timer; reprogramming it would break every SDK delay.

Assisted-by: Claude <noreply@anthropic.com>
Signed-off-by: dechao_gong <dechao_gong@realsil.com.cn>
2026-09-01 17:41:14 +08:00
..
hardware
ameba_adc_chip.h arch/arm/rtl8720f: add ADC driver support 2026-08-24 09:32:19 +02:00
ameba_allocateheap.c
ameba_app_start.c
ameba_board.mk arch/arm/rtl8720f: add timer driver support 2026-09-01 17:41:14 +08:00
ameba_gpio_chip.h arch/arm/rtl8720f: add single-port GPIO support 2026-08-12 08:46:16 -03:00
ameba_i2c_chip.h arch/arm/rtl8720f: add I2C master driver support 2026-08-12 08:46:16 -03:00
ameba_ipc.c
ameba_ipc.h
ameba_irq.c
ameba_irq.h
ameba_loguart.c
ameba_pwm_chip.h arch/arm/rtl8720f: add PWM master driver support 2026-08-17 09:34:22 -03:00
ameba_rtc_chip.h arch/arm/rtl8720f: add RTC driver support 2026-08-27 01:09:15 +08:00
ameba_spi_chip.h arch/arm/rtl8720f: add SPI master driver support 2026-08-14 11:36:37 -03:00
ameba_start.c
ameba_timer_chip.h arch/arm/rtl8720f: add timer driver support 2026-09-01 17:41:14 +08:00
ameba_timerisr.c
ameba_uart_chip.h arch/arm/rtl8720f: add UART master driver support 2026-08-12 08:46:16 -03:00
ameba_wdg_chip.h arch/arm/rtl8720f: add watchdog driver support 2026-08-29 00:08:03 +08:00
ameba_wifi_init.c
chip.h
CMakeLists.txt arch/arm/rtl8720f: add timer driver support 2026-09-01 17:41:14 +08:00
Kconfig arch/arm/rtl8720f: add SPI master driver support 2026-08-14 11:36:37 -03:00
Make.defs arch/arm/rtl8720f: add timer driver support 2026-09-01 17:41:14 +08:00