2023-03-11 19:17:09 +01:00
|
|
|
# Copyright (c) 2022 Bjarki Arge Andreasen
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2023-05-25 00:27:04 +02:00
|
|
|
zephyr_syscall_header(${ZEPHYR_BASE}/include/zephyr/drivers/rtc.h)
|
|
|
|
|
2023-03-11 19:17:09 +01:00
|
|
|
zephyr_library()
|
|
|
|
|
2024-02-25 14:12:35 +01:00
|
|
|
zephyr_library_sources(rtc_utils.c)
|
|
|
|
|
2023-08-04 18:21:53 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_RTC_AM1805 rtc_am1805.c)
|
2023-10-16 14:56:37 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_RTC_DS1307 rtc_ds1307.c)
|
2023-03-11 19:17:09 +01:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_USERSPACE rtc_handlers.c)
|
2023-03-11 19:29:20 +01:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_RTC_EMUL rtc_emul.c)
|
2020-01-07 18:31:08 +01:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_RTC_PCF8523 rtc_pcf8523.c)
|
2023-06-13 14:12:10 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_RTC_PCF8563 rtc_pcf8563.c)
|
2023-04-20 14:16:31 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_RTC_MOTOROLA_MC146818 rtc_mc146818.c)
|
2023-06-13 15:13:56 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_RTC_STM32 rtc_ll_stm32.c)
|
2023-06-28 13:11:28 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_RTC_SHELL rtc_shell.c)
|
2023-06-28 13:14:16 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_RTC_FAKE rtc_fake.c)
|
2023-10-16 13:57:21 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_RTC_SMARTBOND rtc_smartbond.c)
|
2023-10-15 20:34:17 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_RTC_ATMEL_SAM rtc_sam.c)
|
2023-11-07 17:14:09 +01:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_RTC_RPI_PICO rtc_rpi_pico.c)
|