boards/posix/native_posix: Add emulated RTC device driver

The emulated RTC device driver is used to emulate a real
RTC device. Note that it is not a replacement for the
native_rtc module, which is used to control simulated time,
get time from the host system, etc.

Signed-off-by: Bjarki Arge Andreasen <baa@trackunit.com>
This commit is contained in:
Bjarki Arge Andreasen 2023-03-11 19:48:51 +01:00 committed by Carles Cufí
commit ae36da516a
8 changed files with 601 additions and 33 deletions

View file

@ -0,0 +1,8 @@
# Copyright (c) 2022 Bjarki Arge Andreasen
# SPDX-License-Identifier: Apache-2.0
description: Emulated RTC device
compatible: "zephyr,rtc-emul"
include: rtc-device.yaml