tests/drivers/rtc/rtc_api_helpers: Test for more archs

The test suite was limited to the native_posix board,
now it is built and run for any board supported by CI.

The native_posix yaml files for both 32 and 64 bit
boards have been expanded to support rtc, allowing CI
to build and test the rtc_api test suite against the
native_posix and native_posix_64 boards.

Signed-off-by: Bjarki Arge Andreasen <baa@trackunit.com>
This commit is contained in:
Bjarki Arge Andreasen 2023-04-05 19:29:54 +02:00 committed by Carles Cufí
commit 20bbb538c9
4 changed files with 7 additions and 5 deletions

View file

@ -17,5 +17,6 @@ supported:
- i2c - i2c
- spi - spi
- gpio - gpio
- rtc
testing: testing:
default: true default: true

View file

@ -15,3 +15,4 @@ supported:
- usb_device - usb_device
- adc - adc
- gpio - gpio
- rtc

View file

@ -178,10 +178,11 @@ New APIs in this release
functions :c:func:`rtc_set_time` and :c:func:`rtc_get_time`, the optional functions functions :c:func:`rtc_set_time` and :c:func:`rtc_get_time`, the optional functions
:c:func:`rtc_alarm_get_supported_fields`, :c:func:`rtc_alarm_set_time`, :c:func:`rtc_alarm_get_supported_fields`, :c:func:`rtc_alarm_set_time`,
:c:func:`rtc_alarm_get_time`, :c:func:`rtc_alarm_is_pending` and :c:func:`rtc_alarm_get_time`, :c:func:`rtc_alarm_is_pending` and
:c:func:`rtc_alarm_set_callback` enabled by :kconfig:option:`CONFIG_RTC_ALARM`, :c:func:`rtc_alarm_set_callback` are enabled with
theoptional function :c:func:`rtc_update_set_callback` enabled by :kconfig:option:`CONFIG_RTC_ALARM`, the optional function
:kconfig:option:`CONFIG_RTC_UPDATE` and lastly the optional functions :c:func:`rtc_update_set_callback` is enabled with
:c:func:`rtc_set_calibration` and :c:func:`rtc_get_calibration` enabled by :kconfig:option:`CONFIG_RTC_UPDATE`, and lastly, the optional functions
:c:func:`rtc_set_calibration` and :c:func:`rtc_get_calibration` are enabled with
:kconfig:option:`CONFIG_RTC_CALIBRATION`. :kconfig:option:`CONFIG_RTC_CALIBRATION`.
Kernel Kernel

View file

@ -4,4 +4,3 @@
tests: tests:
drivers.rtc.rtc_api: drivers.rtc.rtc_api:
tags: drivers rtc api helpers tags: drivers rtc api helpers
platform_allow: native_posix