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:
Kim Bøndergaard 2023-06-28 13:14:16 +02:00 committed by Fabio Baltieri
commit 44e18e8d47
6 changed files with 165 additions and 0 deletions

View 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