-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: rtc: sam: Add platform on API test coverage
The #81456 fixed the driver issue related to issue #81454. This add the RTC configurations on sam_v71_xult board to enable test coverage. Fixes #81454 Signed-off-by: Gerson Fernando Budke <[email protected]>
- Loading branch information
Showing
5 changed files
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
*/ | ||
|
@@ -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; | ||
|
@@ -336,6 +337,10 @@ zephyr_udc0: &usbhs { | |
}; | ||
}; | ||
|
||
&rtc { | ||
status = "okay"; | ||
}; | ||
|
||
ext1_spi: &spi0 { | ||
}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,7 @@ supported: | |
- i2s | ||
- pwm | ||
- netif:eth | ||
- rtc | ||
- spi | ||
- usb_device | ||
- watchdog | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,7 @@ supported: | |
- i2s | ||
- pwm | ||
- netif:eth | ||
- rtc | ||
- spi | ||
- usb_device | ||
- watchdog | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
3
tests/drivers/rtc/rtc_api/boards/sam_v71_xult_samv71q21b.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |