mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
soc/rtc: run 32k XTAL startup test only in PSRAM config
PSRAM tests run on ESP-WROVER-KIT boards, which have the 32k XTAL installed.
This commit is contained in:
parent
27bf18ad6b
commit
48d55e22e7
@ -151,6 +151,9 @@ void stop_rtc_external_quartz(){
|
||||
gpio_output_set_high(0, 0, 0, mask_32 | mask_33); // disable pins
|
||||
}
|
||||
|
||||
#ifdef CONFIG_SPIRAM_SUPPORT
|
||||
// PSRAM tests run on ESP-WROVER-KIT boards, which have the 32k XTAL installed.
|
||||
// Other tests may run on DevKitC boards, which don't have a 32k XTAL.
|
||||
TEST_CASE("Test starting external RTC quartz", "[rtc_clk]")
|
||||
{
|
||||
int i = 0, fail = 0;
|
||||
@ -182,3 +185,4 @@ TEST_CASE("Test starting external RTC quartz", "[rtc_clk]")
|
||||
printf("Test passed successfully\n");
|
||||
}
|
||||
}
|
||||
#endif // CONFIG_SPIRAM_SUPPORT
|
||||
|
Loading…
x
Reference in New Issue
Block a user