Skip to content

Commit 4667d9c

Browse files
committed
Merge branch 'bugfix/rtc_xtal_unit_test' into 'master'
Fix 32k RTC XTAL unit test failures See merge request idf/esp-idf!2124
2 parents af3ffec + 48d55e2 commit 4667d9c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

components/soc/esp32/test/test_rtc_clk.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ void stop_rtc_external_quartz(){
151151
gpio_output_set_high(0, 0, 0, mask_32 | mask_33); // disable pins
152152
}
153153

154+
#ifdef CONFIG_SPIRAM_SUPPORT
155+
// PSRAM tests run on ESP-WROVER-KIT boards, which have the 32k XTAL installed.
156+
// Other tests may run on DevKitC boards, which don't have a 32k XTAL.
154157
TEST_CASE("Test starting external RTC quartz", "[rtc_clk]")
155158
{
156159
int i = 0, fail = 0;
@@ -182,3 +185,4 @@ TEST_CASE("Test starting external RTC quartz", "[rtc_clk]")
182185
printf("Test passed successfully\n");
183186
}
184187
}
188+
#endif // CONFIG_SPIRAM_SUPPORT

0 commit comments

Comments
 (0)