Skip to content

Commit 6acb085

Browse files
committed
drivers: tests: rtc: add overlay for adafruit_macropad_rp2040
Allow to run the RTC test suite on Adafruit Macropad RP2040 Signed-off-by: Benjamin Cabé <[email protected]>
1 parent 2e32b00 commit 6acb085

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
CONFIG_RTC_ALARM=y
2+
CONFIG_TEST_RTC_ALARM_TIME_MASK=127
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/*
2+
* SPDX-License-Identifier: Apache-2.0
3+
*
4+
* Copyright The Zephyr Project Contributors
5+
*/
6+
7+
/ {
8+
aliases {
9+
rtc = &rtc;
10+
};
11+
};
12+
13+
&rtc {
14+
clocks = <&clocks RPI_PICO_CLKID_CLK_RTC>;
15+
status = "okay";
16+
};

0 commit comments

Comments
 (0)