1# Copyright (c) 2022 Bjarki Arge Andreasen
2# SPDX-License-Identifier: Apache-2.0
3
4zephyr_syscall_header(${ZEPHYR_BASE}/include/zephyr/drivers/rtc.h)
5
6zephyr_library()
7
8zephyr_library_sources(rtc_utils.c)
9
10zephyr_library_sources_ifdef(CONFIG_RTC_RV8263 rtc_rv8263.c)
11zephyr_library_sources_ifdef(CONFIG_RTC_AM1805 rtc_am1805.c)
12zephyr_library_sources_ifdef(CONFIG_RTC_AMBIQ rtc_ambiq.c)
13zephyr_library_sources_ifdef(CONFIG_RTC_DS1307 rtc_ds1307.c)
14zephyr_library_sources_ifdef(CONFIG_RTC_DS3231 rtc_ds3231.c)
15zephyr_library_sources_ifdef(CONFIG_USERSPACE rtc_handlers.c)
16zephyr_library_sources_ifdef(CONFIG_RTC_EMUL rtc_emul.c)
17zephyr_library_sources_ifdef(CONFIG_RTC_INFINEON_CAT1 rtc_ifx_cat1.c)
18zephyr_library_sources_ifdef(CONFIG_RTC_PCF8523 rtc_pcf8523.c)
19zephyr_library_sources_ifdef(CONFIG_RTC_PCF8563 rtc_pcf8563.c)
20zephyr_library_sources_ifdef(CONFIG_RTC_MOTOROLA_MC146818 rtc_mc146818.c)
21zephyr_library_sources_ifdef(CONFIG_RTC_STM32 rtc_ll_stm32.c)
22zephyr_library_sources_ifdef(CONFIG_RTC_SHELL rtc_shell.c)
23zephyr_library_sources_ifdef(CONFIG_RTC_FAKE rtc_fake.c)
24zephyr_library_sources_ifdef(CONFIG_RTC_SMARTBOND rtc_smartbond.c)
25zephyr_library_sources_ifdef(CONFIG_RTC_ATMEL_SAM rtc_sam.c)
26zephyr_library_sources_ifdef(CONFIG_RTC_ATMEL_SAM0 rtc_sam0.c)
27zephyr_library_sources_ifdef(CONFIG_RTC_RPI_PICO rtc_rpi_pico.c)
28zephyr_library_sources_ifdef(CONFIG_RTC_RTS5912 rtc_rts5912.c)
29zephyr_library_sources_ifdef(CONFIG_RTC_RV3028 rtc_rv3028.c)
30zephyr_library_sources_ifdef(CONFIG_RTC_NUMAKER rtc_numaker.c)
31zephyr_library_sources_ifdef(CONFIG_RTC_XMC4XXX rtc_xmc4xxx.c)
32zephyr_library_sources_ifdef(CONFIG_RTC_NXP_IRTC rtc_nxp_irtc.c)
33zephyr_library_sources_ifdef(CONFIG_RTC_RV8803 rtc_rv8803.c)
34zephyr_library_sources_ifdef(CONFIG_RTC_BQ32002 rtc_bq32002.c)
35zephyr_library_sources_ifdef(CONFIG_RTC_RX8130CE rtc_rx8130ce.c)
36zephyr_library_sources_ifdef(CONFIG_RTC_DS1337 rtc_ds1337.c)
37