drivers: rtc: rtc_fake: fff rtc driver added
Can be valuable for unit testing modules accessing the RTC Signed-off-by: Kim Bøndergaard <kim.bondergaard@prevas.dk>
This commit is contained in:
parent
eed23e8cb3
commit
44e18e8d47
6 changed files with 165 additions and 0 deletions
10
dts/bindings/rtc/zephyr,fake-rtc.yaml
Normal file
10
dts/bindings/rtc/zephyr,fake-rtc.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
# Copyright (c) 2023 Prevas A/S
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: |
|
||||
This binding provides a fake RTC controller for use as either a stub or a mock in Zephyr
|
||||
testing.
|
||||
|
||||
compatible: "zephyr,fake-rtc"
|
||||
|
||||
include: rtc-device.yaml
|
Loading…
Add table
Add a link
Reference in a new issue