Merge branch 'bugfix/fix_deepsleep_wakestub_example_ci_failure_master' into 'master'

ci: fix deepsleep wakestub example ci failure

See merge request espressif/esp-idf!24466
This commit is contained in:
Wu Zheng Hui 2023-07-07 11:38:14 +08:00
commit 94613a5904
2 changed files with 3 additions and 2 deletions

View File

@ -1646,7 +1646,8 @@ esp_err_t esp_sleep_pd_config(esp_sleep_pd_domain_t domain, esp_sleep_pd_option_
/**
* The modules in the CPU and modem power domains still depend on the top power domain.
* To be safe, the CPU and Modem power domains must also be powered off and saved when
* the TOP is powered off.
* the TOP is powered off. If not power down XTAL, power down TOP is meaningless, and
* the XTAL clock control of some chips(esp32c6/esp32h2) depends on the top domain.
*/
#if SOC_PM_SUPPORT_TOP_PD
static inline bool top_domain_pd_allowed(void) {

View File

@ -22,7 +22,7 @@ def test_deep_sleep_wake_stub(config: str, dut: Dut) -> None:
start_sleep = time.time()
logging.info('Waiting for wakeup...')
dut.expect_exact('wake stub: going to deep sleep')
dut.expect_exact('wake stub: going to deep sleep', timeout=15)
sleep_time = time.time() - start_sleep
logging.info('Host measured sleep time at {:.2f}s'.format(sleep_time))