Skip to content

Commit 55592cf

Browse files
kartbencfriedt
authored andcommitted
tests: drivers: counter: fix esp32s3 overlays
The use of timer3 seems to be some legacy leftover from when the overlay was specific to esp32s3_devkitm originally (commit cf3b264). Using timer0 instead. Signed-off-by: Benjamin Cabé <[email protected]>
1 parent 8d1f7b3 commit 55592cf

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
&timer0 {
2+
status = "okay";
3+
counter {
4+
status = "okay";
5+
};
6+
};
7+
8+
&rtc_timer {
9+
status = "okay";
10+
};
11+
12+
&clock {
13+
slow-clk-src = <ESP32_RTC_SLOW_CLK_SRC_RC_FAST_D256>;
14+
};

tests/drivers/counter/counter_basic_api/socs/esp32s3_procpu.overlay

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
&timer3 {
1+
&timer0 {
22
status = "okay";
33
counter {
44
status = "okay";

0 commit comments

Comments
 (0)