Skip to content

Commit 20bbb53

Browse files
Bjarki Arge Andreasencarlescufi
Bjarki Arge Andreasen
authored andcommitted
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 <[email protected]>
1 parent 418da35 commit 20bbb53

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

boards/posix/native_posix/native_posix.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@ supported:
1717
- i2c
1818
- spi
1919
- gpio
20+
- rtc
2021
testing:
2122
default: true

boards/posix/native_posix/native_posix_64.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ supported:
1515
- usb_device
1616
- adc
1717
- gpio
18+
- rtc

doc/releases/release-notes-3.4.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -178,10 +178,11 @@ New APIs in this release
178178
functions :c:func:`rtc_set_time` and :c:func:`rtc_get_time`, the optional functions
179179
:c:func:`rtc_alarm_get_supported_fields`, :c:func:`rtc_alarm_set_time`,
180180
:c:func:`rtc_alarm_get_time`, :c:func:`rtc_alarm_is_pending` and
181-
:c:func:`rtc_alarm_set_callback` enabled by :kconfig:option:`CONFIG_RTC_ALARM`,
182-
theoptional function :c:func:`rtc_update_set_callback` enabled by
183-
:kconfig:option:`CONFIG_RTC_UPDATE` and lastly the optional functions
184-
:c:func:`rtc_set_calibration` and :c:func:`rtc_get_calibration` enabled by
181+
:c:func:`rtc_alarm_set_callback` are enabled with
182+
:kconfig:option:`CONFIG_RTC_ALARM`, the optional function
183+
:c:func:`rtc_update_set_callback` is enabled with
184+
:kconfig:option:`CONFIG_RTC_UPDATE`, and lastly, the optional functions
185+
:c:func:`rtc_set_calibration` and :c:func:`rtc_get_calibration` are enabled with
185186
:kconfig:option:`CONFIG_RTC_CALIBRATION`.
186187

187188
Kernel

tests/drivers/rtc/rtc_api_helpers/testcase.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@
44
tests:
55
drivers.rtc.rtc_api:
66
tags: drivers rtc api helpers
7-
platform_allow: native_posix

0 commit comments

Comments
 (0)