Skip to content

Commit

Permalink
drivers: rtc: sam: Add platform on API test coverage
Browse files Browse the repository at this point in the history
The zephyrproject-rtos#81456 fixed the driver issue related to issue zephyrproject-rtos#81454. This add
the RTC configurations on sam_v71_xult board to enable test coverage.

Fixes zephyrproject-rtos#81454

Signed-off-by: Gerson Fernando Budke <[email protected]>
  • Loading branch information
nandojve committed Nov 23, 2024
1 parent eb4f2fb commit eacfaa6
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 1 deletion.
7 changes: 6 additions & 1 deletion boards/atmel/sam/sam_v71_xult/sam_v71_xult-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Copyright (c) 2017 Piotr Mienkowski
* Copyright (c) 2017 Justin Watson
* Copyright (c) 2020 Stephanos Ioannidis <[email protected]>
* Copyright (c) 2019-2022 Gerson Fernando Budke <[email protected]>
* Copyright (c) 2019-2024 Gerson Fernando Budke <[email protected]>
*
* SPDX-License-Identifier: Apache-2.0
*/
Expand All @@ -17,6 +17,7 @@
led0 = &yellow_led1;
pwm-led0 = &pwm_led0;
pwm-0 = &pwm0;
rtc = &rtc;
sw0 = &sw0_user_button;
sw1 = &sw1_user_button;
watchdog0 = &wdt;
Expand Down Expand Up @@ -336,6 +337,10 @@ zephyr_udc0: &usbhs {
};
};

&rtc {
status = "okay";
};

ext1_spi: &spi0 {
};

Expand Down
1 change: 1 addition & 0 deletions boards/atmel/sam/sam_v71_xult/sam_v71_xult_samv71q21.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ supported:
- i2s
- pwm
- netif:eth
- rtc
- spi
- usb_device
- watchdog
Expand Down
1 change: 1 addition & 0 deletions boards/atmel/sam/sam_v71_xult/sam_v71_xult_samv71q21b.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ supported:
- i2s
- pwm
- netif:eth
- rtc
- spi
- usb_device
- watchdog
Expand Down
3 changes: 3 additions & 0 deletions tests/drivers/rtc/rtc_api/boards/sam_v71_xult_samv71q21.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CONFIG_RTC_ALARM=y
CONFIG_RTC_UPDATE=y
CONFIG_RTC_CALIBRATION=y
3 changes: 3 additions & 0 deletions tests/drivers/rtc/rtc_api/boards/sam_v71_xult_samv71q21b.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CONFIG_RTC_ALARM=y
CONFIG_RTC_UPDATE=y
CONFIG_RTC_CALIBRATION=y

0 comments on commit eacfaa6

Please sign in to comment.