This test suite adds tests for the following: - Setting and getting time - Validating time is incrementing correctly - Validating behavior of alarms with callback disabled - Validating behavior of alarms with callback enabled - Validating update callback The test suite uses the devicetree alias rtc to find the device to test. Signed-off-by: Bjarki Arge Andreasen <baa@trackunit.com>
8 lines
220 B
CMake
8 lines
220 B
CMake
# Copyright (c) 2022 Bjarki Arge Andreasen
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
zephyr_library()
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_USERSPACE rtc_handlers.c)
|
|
zephyr_library_sources_ifdef(CONFIG_RTC_EMUL rtc_emul.c)
|
|
|