rt-thread-official/bsp/cvitek/drivers
Chen Wang 16475b3c92 bsp: cvitek: fix warning on rtc driver
When RTC is enabled, a warning appear during compiling:
warning: implicit declaration of function 'rtc_alarm_enable' [-Wimplicit-function-declaration]
  366 |     rtc_alarm_enable(alarm->enable);
      |     ^~~~~~~~~~~~~~~~

It's due to _rtc_set_alarm is not covered by RT_USING_ALARM. It's wrong.

Solution: cover all functions including _rtc_get_alarm & _rtc_set_alarm
under RT_USING_ALARM macro conditional defintion.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2024-11-26 21:45:00 -05:00
..
libraries support milkv-duo rt-smart 2024-11-25 10:48:36 +08:00
port bsp: cvitek: support mount fat/ext rootfs for rt-smart 2024-11-26 21:45:00 -05:00
.ignore_format.yml support cv181x c906_little (#8680) 2024-03-28 23:35:54 +08:00
SConscript bsp: cvitek: 906b: romfs -> diskfs 2024-11-26 21:45:00 -05:00
drv_adc.c support milkv-duo rt-smart 2024-11-25 10:48:36 +08:00
drv_adc.h bsp: cvitek: add support for RTCSYS_SARADC 2024-08-07 11:15:37 +08:00
drv_eth.c support milkv-duo rt-smart 2024-11-25 10:48:36 +08:00
drv_eth.h support milkv-duo rt-smart 2024-11-25 10:48:36 +08:00
drv_gpio.c support milkv-duo rt-smart 2024-11-25 10:48:36 +08:00
drv_gpio.h fix bl808-d0 && cv1800b compile error (#8513) 2024-01-28 16:05:52 +08:00
drv_hw_i2c.c support milkv-duo rt-smart 2024-11-25 10:48:36 +08:00
drv_hw_i2c.h bsp: cvitek: Canonically rename some macro definitions 2024-08-20 09:52:18 +08:00
drv_ioremap.h [feat]添加ioremap兼容定义以适应smart运行 2024-07-24 12:28:50 +08:00
drv_pinmux.c [bsp][cvitek] fix pinmux array order error (#9593) 2024-11-08 15:36:37 +08:00
drv_pinmux.h bsp:cvitek:add all function type of pinmux 2024-09-25 21:04:40 -04:00
drv_por.c support milkv-duo rt-smart 2024-11-25 10:48:36 +08:00
drv_pwm.c support milkv-duo rt-smart 2024-11-25 10:48:36 +08:00
drv_pwm.h [bsp/cvitek]add pwm driver (#8571) 2024-03-02 16:16:22 +08:00
drv_rtc.c bsp: cvitek: fix warning on rtc driver 2024-11-26 21:45:00 -05:00
drv_sdhci.c support milkv-duo rt-smart 2024-11-25 10:48:36 +08:00
drv_sdhci.h support milkv-duo rt-smart 2024-11-25 10:48:36 +08:00
drv_spi.c support milkv-duo rt-smart 2024-11-25 10:48:36 +08:00
drv_spi.h bsp: cvitek: re-wrote spi driver 2024-07-17 11:52:27 +08:00
drv_timer.c support milkv-duo rt-smart 2024-11-25 10:48:36 +08:00
drv_timer.h bsp: cvitek: Add timer driver 2024-08-25 12:11:57 -04:00
drv_uart.c support milkv-duo rt-smart 2024-11-25 10:48:36 +08:00
drv_uart.h bsp: cvitek: Canonically rename some macro definitions 2024-08-20 09:52:18 +08:00
drv_wdt.c support milkv-duo rt-smart 2024-11-25 10:48:36 +08:00
drv_wdt.h [bsp][cvitek]: 将adc wdt驱动的局部函数移至源文件 2024-07-21 17:37:09 +08:00