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 <nandojve@gmail.com>
This commit is contained in:
Gerson Fernando Budke 2024-11-15 19:45:06 +01:00 committed by Benjamin Cabé
commit cffb66f5c6
5 changed files with 14 additions and 1 deletions

View file

@ -2,7 +2,7 @@
* Copyright (c) 2017 Piotr Mienkowski
* Copyright (c) 2017 Justin Watson
* Copyright (c) 2020 Stephanos Ioannidis <root@stephanos.io>
* Copyright (c) 2019-2022 Gerson Fernando Budke <nandojve@gmail.com>
* Copyright (c) 2019-2024 Gerson Fernando Budke <nandojve@gmail.com>
*
* 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 {
};

View file

@ -22,6 +22,7 @@ supported:
- i2s
- pwm
- netif:eth
- rtc
- spi
- usb_device
- watchdog

View file

@ -22,6 +22,7 @@ supported:
- i2s
- pwm
- netif:eth
- rtc
- spi
- usb_device
- watchdog

View file

@ -0,0 +1,3 @@
CONFIG_RTC_ALARM=y
CONFIG_RTC_UPDATE=y
CONFIG_RTC_CALIBRATION=y

View file

@ -0,0 +1,3 @@
CONFIG_RTC_ALARM=y
CONFIG_RTC_UPDATE=y
CONFIG_RTC_CALIBRATION=y