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()
|
|
|
|
|
|
|
|
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)
|