tests: counter: rtc: Change clock source for precision

Clock source is changed from RC_SLOW to RC_FAST_D256 in order
to improve clock precision and avoid tests failing due to
lower precision of RC clock (around 10%).

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
This commit is contained in:
Raffael Rostagno 2024-10-14 11:41:12 -03:00 committed by David Leach
commit 891b946bc6
8 changed files with 36 additions and 0 deletions

View file

@ -1,3 +1,7 @@
&timer0 { &timer0 {
status = "okay"; status = "okay";
}; };
&rtc {
slow-clk-src = <ESP32_RTC_SLOW_CLK_SRC_RC_FAST_D256>;
};

View file

@ -1,3 +1,7 @@
&timer0 { &timer0 {
status = "okay"; status = "okay";
}; };
&rtc {
slow-clk-src = <ESP32_RTC_SLOW_CLK_SRC_RC_FAST_D256>;
};

View file

@ -1,3 +1,7 @@
&timer0 { &timer0 {
status = "okay"; status = "okay";
}; };
&rtc {
slow-clk-src = <ESP32_RTC_SLOW_CLK_SRC_RC_FAST_D256>;
};

View file

@ -1,3 +1,11 @@
&timer3 { &timer3 {
status = "okay"; status = "okay";
}; };
&rtc_timer {
status = "okay";
};
&rtc {
slow-clk-src = <ESP32_RTC_SLOW_CLK_SRC_RC_FAST_D256>;
};

View file

@ -1,3 +1,7 @@
&timer3 { &timer3 {
status = "okay"; status = "okay";
}; };
&rtc {
slow-clk-src = <ESP32_RTC_SLOW_CLK_SRC_RC_FAST_D256>;
};

View file

@ -1,3 +1,7 @@
&timer3 { &timer3 {
status = "okay"; status = "okay";
}; };
&rtc {
slow-clk-src = <ESP32_RTC_SLOW_CLK_SRC_RC_FAST_D256>;
};

View file

@ -5,3 +5,7 @@
&rtc_timer { &rtc_timer {
status = "okay"; status = "okay";
}; };
&rtc {
slow-clk-src = <ESP32_RTC_SLOW_CLK_SRC_RC_FAST_D256>;
};

View file

@ -1,3 +1,7 @@
&timer0 { &timer0 {
status = "okay"; status = "okay";
}; };
&rtc {
slow-clk-src = <ESP32_RTC_SLOW_CLK_SRC_RC_FAST_D256>;
};