mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 04:04:31 +02:00
Merge branch 'bugfix/rtc_xtal_unit_test' into 'master'
Fix 32k RTC XTAL unit test failures See merge request idf/esp-idf!2124
This commit is contained in:
@@ -151,6 +151,9 @@ void stop_rtc_external_quartz(){
|
|||||||
gpio_output_set_high(0, 0, 0, mask_32 | mask_33); // disable pins
|
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]")
|
TEST_CASE("Test starting external RTC quartz", "[rtc_clk]")
|
||||||
{
|
{
|
||||||
int i = 0, fail = 0;
|
int i = 0, fail = 0;
|
||||||
@@ -182,3 +185,4 @@ TEST_CASE("Test starting external RTC quartz", "[rtc_clk]")
|
|||||||
printf("Test passed successfully\n");
|
printf("Test passed successfully\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif // CONFIG_SPIRAM_SUPPORT
|
||||||
|
Reference in New Issue
Block a user